public class MethodDescriptorImpl extends ElementDescriptorImpl implements MethodDescriptor
ElementDescriptor.ConstraintFinder
Constructor and Description |
---|
MethodDescriptorImpl(Class<?> returnType,
String name,
Set<ConstraintDescriptorImpl<?>> returnValueConstraints,
boolean isCascaded,
List<ParameterDescriptor> parameters,
boolean defaultGroupSequenceRedefined,
List<Class<?>> defaultGroupSequence) |
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.
|
asDescriptors, findConstraints, getConstraintDescriptors, getElementClass, hasConstraints, isCascaded
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
isCascaded
findConstraints, getConstraintDescriptors, getElementClass, hasConstraints
public MethodDescriptorImpl(Class<?> returnType, String name, Set<ConstraintDescriptorImpl<?>> returnValueConstraints, boolean isCascaded, List<ParameterDescriptor> parameters, boolean defaultGroupSequenceRedefined, List<Class<?>> defaultGroupSequence)
public String getMethodName()
MethodDescriptor
getMethodName
in interface MethodDescriptor
public List<ParameterDescriptor> getParameterDescriptors()
MethodDescriptor
Returns a list with descriptors for this method's parameters.
The size of this list corresponds with the number of this method's parameters.
getParameterDescriptors
in interface MethodDescriptor
Copyright © 2007-2014 Red Hat Middleware, LLC. All Rights Reserved