| Modifier and Type | Field and Description |
|---|---|
| public static final AnnotatedObject |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public AnnotatedType[] | getAnnotatedBounds()
Implements java. |
| public <T extends Annotation> T | getAnnotation(Class<T>
the Class object corresponding to the
annotation type annotationClass)Implements java. |
| public Annotation[] | getAnnotations()
Implements java. |
| public Type[] | getBounds()
Implements java. Type objects representing the
upper bound(s) of this type variable.
|
| public Annotation[] | getDeclaredAnnotations()
Implements java. |
| public Class | getGenericDeclaration()
Implements java. GenericDeclaration object representing the
generic declaration declared for this type variable.
|
| public String | getName()
Implements java. |
| public String |
| INSTANCE | back to summary |
|---|---|
| public static final AnnotatedObject INSTANCE | |
| AnnotatedObject | back to summary |
|---|---|
| private AnnotatedObject() | |
| getAnnotatedBounds | back to summary |
|---|---|
| public AnnotatedType[] getAnnotatedBounds() Implements java. Doc from java. Returns an array of AnnotatedType objects that represent the use of
types to denote the upper bounds of the type parameter represented by
this TypeVariable. The order of the objects in the array corresponds to
the order of the bounds in the declaration of the type parameter. Note that
if no upper bound is explicitly declared, the upper bound is unannotated
| |
| getAnnotation | back to summary |
|---|---|
| public <T extends Annotation> T getAnnotation(Class<T> annotationClass) Implements java. Doc from java. Returns this element's annotation for the specified type if such an annotation is present, else null. | |
| getAnnotations | back to summary |
|---|---|
| public Annotation[] getAnnotations() Implements java. Doc from java. Returns annotations that are present on this element. If there are no annotations present on this element, the return value is an array of length 0. The caller of this method is free to modify the returned array; it will have no effect on the arrays returned to other callers.
| |
| getBounds | back to summary |
|---|---|
| public Type[] getBounds() Implements java. Doc from java. Returns an array of For each upper bound B:
| |
| getDeclaredAnnotations | back to summary |
|---|---|
| public Annotation[] getDeclaredAnnotations() Implements java. Doc from java. Returns annotations that are directly present on this element. This method ignores inherited annotations. If there are no annotations directly present on this element, the return value is an array of length 0. The caller of this method is free to modify the returned array; it will have no effect on the arrays returned to other callers.
| |
| getGenericDeclaration | back to summary |
|---|---|
| public Class Implements java. Doc from java. Returns the | |
| getName | back to summary |
|---|---|
| public String getName() Implements java. Doc from java. Returns the name of this type variable, as it occurs in the source code. | |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns a string representation of the object. | |