Class VoidMethodsMustNotBeReturnValueConstrained
java.lang.Object
org.hibernate.validator.internal.metadata.aggregated.rule.MethodConfigurationRule
org.hibernate.validator.internal.metadata.aggregated.rule.VoidMethodsMustNotBeReturnValueConstrained
Rule that ensures that void methods don't have any constraints or are marked
as cascaded.
- Author:
- Gunnar Morling
-
Field Summary
Fields inherited from class org.hibernate.validator.internal.metadata.aggregated.rule.MethodConfigurationRule
LOG -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidapply(ConstrainedExecutable executable, ConstrainedExecutable otherExecutable) Applies this rule.Methods inherited from class org.hibernate.validator.internal.metadata.aggregated.rule.MethodConfigurationRule
isDefinedOnParallelType, isDefinedOnSubType, isStrictSubType
-
Constructor Details
-
VoidMethodsMustNotBeReturnValueConstrained
public VoidMethodsMustNotBeReturnValueConstrained()
-
-
Method Details
-
apply
Description copied from class:MethodConfigurationRuleApplies this rule. Invoked for each pair of methods collected by a given executable meta dataExecutableMetaData.Builder.- Specified by:
applyin classMethodConfigurationRule- Parameters:
executable- The first method to check.otherExecutable- The other method to check.
-