MethodDescriptor and
ConstructorDescriptor.
| Modifier and Type | Method and Description |
|---|---|
| public ElementDescriptor. | Returns: ConstraintFinder objectRedeclares jakarta. Returns a finder that will always return an empty |
| public Set | Returns: an emptySetRedeclares jakarta. Returns an empty |
| public CrossParameterDescriptor | Returns: a descriptor containing the cross-parameter constraints of this executableReturns a descriptor containing the cross-parameter constraints of this executable. |
| public String | Returns: the name of the executable represented by this descriptorReturns the method name in case this descriptor represents a method or the non-qualified name of the declaring class in case this descriptor represents a constructor. |
| public List | Returns: a list of descriptors representing this executable's parameters; an empty list will be returned if this executable has no parameters, but nevernullReturns a list of descriptors representing this executable's parameters, in the order of their declaration, including synthetic parameters. |
| public ReturnValueDescriptor | Returns: a descriptor for this executable's return valueReturns a descriptor for this executable's return value. |
| public boolean | Returns: true if the executable parameters are constrainedReturns
|
| public boolean | Returns: true if the executable return value is constrainedReturns
|
| public boolean | Returns: falseRedeclares jakarta. Returns |
| findConstraints | back to summary |
|---|---|
| public ElementDescriptor. Redeclares jakarta. Returns a finder that will always return an empty
An executable per se does not host constraints, use
| |
| getConstraintDescriptors | back to summary |
|---|---|
| public Set Redeclares jakarta. Returns an empty
An executable per se does not host constraints, use
| |
| getCrossParameterDescriptor | back to summary |
|---|---|
| public CrossParameterDescriptor getCrossParameterDescriptor() Returns a descriptor containing the cross-parameter constraints of this executable.
| |
| getName | back to summary |
|---|---|
| public String getName() Returns the method name in case this descriptor represents a method or the non-qualified name of the declaring class in case this descriptor represents a constructor.
| |
| getParameterDescriptors | back to summary |
|---|---|
| public List Returns a list of descriptors representing this executable's parameters, in the order of their declaration, including synthetic parameters.
| |
| getReturnValueDescriptor | back to summary |
|---|---|
| public ReturnValueDescriptor getReturnValueDescriptor() Returns a descriptor for this executable's return value.
An executable without return value will return a descriptor
representing
| |
| hasConstrainedParameters | back to summary |
|---|---|
| public boolean hasConstrainedParameters() Returns
Also returns
| |
| hasConstrainedReturnValue | back to summary |
|---|---|
| public boolean hasConstrainedReturnValue() Returns
Also returns
| |
| hasConstraints | back to summary |
|---|---|
| public boolean hasConstraints() Redeclares jakarta. Returns
An executable per se does not host constraints, use
| |