public interface MethodDescriptor extends ElementDescriptor
ElementDescriptor.ConstraintFinder
Modifier and Type | Method and Description |
---|---|
String |
getMethodName()
Returns the name of the method represented by this descriptor.
|
List<ParameterDescriptor> |
getParameterDescriptors()
Returns a list with descriptors for this method's parameters.
|
boolean |
isCascaded()
Whether a cascaded validation for this method's return value shall be
performed or not.
|
findConstraints, getConstraintDescriptors, getElementClass, hasConstraints
String getMethodName()
List<ParameterDescriptor> getParameterDescriptors()
Returns a list with descriptors for this method's parameters.
The size of this list corresponds with the number of this method's parameters.
boolean isCascaded()
Valid
annotation) either locally or in the inheritance hierarchy.True
, if this method's return value shall be
validated recursively, false
otherwise.Copyright © 2012 JBoss by Red Hat. All Rights Reserved.