MethodDescriptor encapsulates functionality for a given Method.
MethodOrdererContext
| Modifier and Type | Method and Description |
|---|---|
| public < the annotation type A extends Annotation> Optional | Returns: anOptional containing the annotation; never null but
potentially emptythe annotation type to search for; never annotationType)nullFind the first annotation of |
| public < the annotation type A extends Annotation> List | Returns: the list of all such annotations found; neithernull nor
mutable, but potentially emptythe repeatable annotation type to search for; never
annotationType)nullFind all repeatable annotations of
|
| public String | Returns: the display name for this descriptor's method; nevernull
or blankGet the display name for this descriptor's |
| public Method | |
| public boolean | Returns: true if the annotation is present or meta-presentthe annotation type to search for; never annotationType)nullDetermine if an annotation of |
| findAnnotation | back to summary |
|---|---|
| public <A extends Annotation> Optional Find the first annotation of
| |
| findRepeatableAnnotations | back to summary |
|---|---|
| public <A extends Annotation> List Find all repeatable annotations of
| |
| getDisplayName | back to summary |
|---|---|
| public String getDisplayName() Get the display name for this descriptor's | |
| getMethod | back to summary |
|---|---|
| public Method getMethod() Get the method for this descriptor.
| |
| isAnnotated | back to summary |
|---|---|
| public boolean isAnnotated(Class<? extends Annotation> annotationType) Determine if an annotation of
| |