| Modifier and Type | Field and Description |
|---|---|
| private final Class |
| Access | Constructor and Description |
|---|---|
| public | |
| public |
| Modifier and Type | Method and Description |
|---|---|
| public boolean | equals(Object
the reference object with which to compare. obj)Overrides java. |
| 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 Class | |
| 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 int | |
| public String |
| containerClass | back to summary |
|---|---|
| private final Class<?> containerClass | |
| ArrayElement | back to summary |
|---|---|
| public ArrayElement(AnnotatedArrayType annotatedArrayType) | |
| ArrayElement | back to summary |
|---|---|
| public ArrayElement(Type arrayType) | |
| equals | back to summary |
|---|---|
| public boolean equals(Object obj) Overrides java. Doc from java. Indicates whether some other object is "equal to" this one.
The
An equivalence relation partitions the elements it operates on into equivalence classes; all the members of an equivalence class are equal to each other. Members of an equivalence class are substitutable for each other, at least for some purposes. | |
| 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:
| |
| getContainerClass | back to summary |
|---|---|
| public Class | |
| 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. | |
| hashCode | back to summary |
|---|---|
| public int hashCode() Overrides java. Doc from java. Returns a hash code value for the object. This method is
supported for the benefit of hash tables such as those provided by
The general contract of
| |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns a string representation of the object. | |