org.hibernate.validator.internal.metadata.aggregated.rule
Class VoidMethodsMustNotBeReturnValueConstrained
java.lang.Object
org.hibernate.validator.internal.metadata.aggregated.rule.MethodConfigurationRule
org.hibernate.validator.internal.metadata.aggregated.rule.VoidMethodsMustNotBeReturnValueConstrained
public class VoidMethodsMustNotBeReturnValueConstrained
- extends MethodConfigurationRule
Rule that ensures that void methods don't have any constraints or are marked
as cascaded.
- Author:
- Gunnar Morling
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
VoidMethodsMustNotBeReturnValueConstrained
public VoidMethodsMustNotBeReturnValueConstrained()
apply
public void apply(ConstrainedExecutable method,
ConstrainedExecutable otherMethod)
- Description copied from class:
MethodConfigurationRule
- Applies this rule. Invoked for each pair of methods collected by a given
executable meta data
ExecutableMetaData.Builder.
- Specified by:
apply in class MethodConfigurationRule
- Parameters:
method - The first method to check.otherMethod - The other method to check.
Copyright © 2007-2013 Red Hat, Inc. All Rights Reserved