public class VoidMethodsMustNotBeReturnValueConstrained extends MethodConfigurationRule
LOG
Constructor and Description |
---|
VoidMethodsMustNotBeReturnValueConstrained() |
Modifier and Type | Method and Description |
---|---|
void |
apply(ConstrainedExecutable executable,
ConstrainedExecutable otherExecutable)
Applies this rule.
|
isDefinedOnParallelType, isDefinedOnSubType, isStrictSubType
public VoidMethodsMustNotBeReturnValueConstrained()
public void apply(ConstrainedExecutable executable, ConstrainedExecutable otherExecutable)
MethodConfigurationRule
ExecutableMetaData.Builder
.apply
in class MethodConfigurationRule
executable
- The first method to check.otherExecutable
- The other method to check.Copyright © 2021 JBoss by Red Hat. All rights reserved.