public class ExecutableDescriptorImpl extends ElementDescriptorImpl implements ConstructorDescriptor, MethodDescriptor
ElementDescriptor.ConstraintFinder
Constructor and Description |
---|
ExecutableDescriptorImpl(Type returnType,
String name,
Set<ConstraintDescriptorImpl<?>> crossParameterConstraints,
ReturnValueDescriptor returnValueDescriptor,
List<ParameterDescriptor> parameters,
boolean defaultGroupSequenceRedefined,
boolean isGetter,
List<Class<?>> defaultGroupSequence) |
Modifier and Type | Method and Description |
---|---|
CrossParameterDescriptor |
getCrossParameterDescriptor() |
String |
getName() |
List<ParameterDescriptor> |
getParameterDescriptors() |
ReturnValueDescriptor |
getReturnValueDescriptor() |
boolean |
hasConstrainedParameters() |
boolean |
hasConstrainedReturnValue() |
boolean |
isGetter() |
String |
toString() |
findConstraints, getConstraintDescriptors, getElementClass, hasConstraints
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
findConstraints, getConstraintDescriptors, hasConstraints
getElementClass
public ExecutableDescriptorImpl(Type returnType, String name, Set<ConstraintDescriptorImpl<?>> crossParameterConstraints, ReturnValueDescriptor returnValueDescriptor, List<ParameterDescriptor> parameters, boolean defaultGroupSequenceRedefined, boolean isGetter, List<Class<?>> defaultGroupSequence)
public String getName()
getName
in interface ExecutableDescriptor
public List<ParameterDescriptor> getParameterDescriptors()
getParameterDescriptors
in interface ExecutableDescriptor
public ReturnValueDescriptor getReturnValueDescriptor()
getReturnValueDescriptor
in interface ExecutableDescriptor
public boolean hasConstrainedParameters()
hasConstrainedParameters
in interface ExecutableDescriptor
public boolean hasConstrainedReturnValue()
hasConstrainedReturnValue
in interface ExecutableDescriptor
public CrossParameterDescriptor getCrossParameterDescriptor()
getCrossParameterDescriptor
in interface ExecutableDescriptor
public boolean isGetter()
Copyright © 2007-2014 Red Hat, Inc. All Rights Reserved