| Modifier and Type | Class and Description |
|---|---|
| private static class | |
| private static class | |
| private static class | |
| private static class | |
| private static class |
| Modifier and Type | Field and Description |
|---|---|
| pack-priv static final AnnotatedType | |
| pack-priv static final AnnotatedType[] | |
| pack-priv static final TypeAnnotation[] |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public static AnnotatedType | buildAnnotatedType(Type
the type this AnnotatedType corresponds to type, TypeAnnotation.the location this AnnotatedType corresponds to currentLoc,the type annotations this AnnotatedType has actualTypeAnnos, TypeAnnotation[] all type annotation on the same TypeAnnotationTarget
as the AnnotatedType being built allOnSameTarget)Create an AnnotatedType. |
| private static boolean | |
| public static TypeAnnotation. |
| EMPTY_ANNOTATED_TYPE | back to summary |
|---|---|
| pack-priv static final AnnotatedType EMPTY_ANNOTATED_TYPE | |
| EMPTY_ANNOTATED_TYPE_ARRAY | back to summary |
|---|---|
| pack-priv static final AnnotatedType[] EMPTY_ANNOTATED_TYPE_ARRAY | |
| EMPTY_TYPE_ANNOTATION_ARRAY | back to summary |
|---|---|
| pack-priv static final TypeAnnotation[] EMPTY_TYPE_ANNOTATION_ARRAY | |
| AnnotatedTypeFactory | back to summary |
|---|---|
| public AnnotatedTypeFactory() | |
| buildAnnotatedType | back to summary |
|---|---|
| public static AnnotatedType buildAnnotatedType(Type type, TypeAnnotation. Create an AnnotatedType.
| |
| isArray | back to summary |
|---|---|
| private static boolean isArray(Type t) | |
| nestingForType | back to summary |
|---|---|
| public static TypeAnnotation. | |
| Access | Constructor and Description |
|---|---|
| pack-priv | AnnotatedArrayTypeImpl(Type type, TypeAnnotation.
|
| AnnotatedArrayTypeImpl | back to summary |
|---|---|
| pack-priv AnnotatedArrayTypeImpl(Type type, TypeAnnotation. | |
| equals | back to summary |
|---|---|
| public boolean equals(Object o) Overrides sun. 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.
| |
| getAnnotatedGenericComponentType | back to summary |
|---|---|
| public AnnotatedType getAnnotatedGenericComponentType() Implements java. Doc from java. Returns the potentially annotated generic component type of this array type.
| |
| getAnnotatedOwnerType | back to summary |
|---|---|
| public AnnotatedType getAnnotatedOwnerType() Overrides sun. Overrides default java. Implements java. Doc from java. Returns the potentially annotated type that this type is a member of, if
this type represents a nested class or interface. For example, if this
type is Returns
| |
| getComponentType | back to summary |
|---|---|
| private Type getComponentType() | |
| hashCode | back to summary |
|---|---|
| public int hashCode() Overrides sun. Doc from java. Returns a hash code value for this 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 sun. Doc from java. Returns a string representation of the object.
Satisfying this method's contract implies a non-
| |
| Access | Constructor and Description |
|---|---|
| pack-priv | AnnotatedParameterizedTypeImpl(ParameterizedType type, TypeAnnotation.
|
| AnnotatedParameterizedTypeImpl | back to summary |
|---|---|
| pack-priv AnnotatedParameterizedTypeImpl(ParameterizedType type, TypeAnnotation. | |
| equals | back to summary |
|---|---|
| public boolean equals(Object o) Overrides sun. 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.
| |
| getAnnotatedActualTypeArguments | back to summary |
|---|---|
| public AnnotatedType[] getAnnotatedActualTypeArguments() Implements java. Doc from java. Returns the potentially annotated actual type arguments of this parameterized type. Note that in some cases, the returned array can be empty. This can occur if this annotated type represents a non-parameterized type nested within a parameterized type.
| |
| getAnnotatedOwnerType | back to summary |
|---|---|
| public AnnotatedType getAnnotatedOwnerType() Overrides sun. Overrides default java. Implements java. Doc from java. Returns the potentially annotated type that this type is a member of, if
this type represents a nested type. For example, if this type is
Returns
| |
| getParameterizedType | back to summary |
|---|---|
| private ParameterizedType getParameterizedType() | |
| hashCode | back to summary |
|---|---|
| public int hashCode() Overrides sun. Doc from java. Returns a hash code value for this 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 sun. Doc from java. Returns a string representation of the object.
Satisfying this method's contract implies a non-
| |
| Modifier and Type | Field and Description |
|---|---|
| private final TypeAnnotation[] | |
| private final Map | |
| private final TypeAnnotation. | |
| private final Type |
| Access | Constructor and Description |
|---|---|
| pack-priv | AnnotatedTypeBaseImpl(Type type, TypeAnnotation.
|
| Modifier and Type | Method and Description |
|---|---|
| protected String | |
| pack-priv int | |
| public boolean | equals(Object o)
Overrides java. Indicates whether some other object is "equal to" this one. |
| protected boolean | |
| public AnnotatedType | getAnnotatedOwnerType()
Overrides default java. Returns the potentially annotated type that this type is a member of, if this type represents a nested type. |
| public final <T extends Annotation> T | getAnnotation(Class<T> annotation)
Implements java. Returns this element's annotation for the specified type if such an annotation is present, else null. |
| public final Annotation[] | getAnnotations()
Implements java. Returns annotations that are present on this element. |
| public final <T extends Annotation> T[] | getAnnotationsByType(Class<T> annotation)
Overrides default java. Returns annotations that are associated with this element. |
| public final <T extends Annotation> T | getDeclaredAnnotation(Class<T> annotation)
Overrides default java. Returns this element's annotation for the specified type if such an annotation is directly present, else null. |
| public final Annotation[] | getDeclaredAnnotations()
Implements java. Returns annotations that are directly present on this element. |
| public final <T extends Annotation> T[] | getDeclaredAnnotationsByType(Class<T> annotation)
Overrides default java. Returns this element's annotation(s) for the specified type if such annotations are either directly present or indirectly present. |
| pack-priv final TypeAnnotation. | |
| public final Type | getType()
Implements java. Returns the underlying type that this annotated type represents. |
| pack-priv final TypeAnnotation[] | |
| public int | |
| public String |
| allOnSameTargetTypeAnnotations | back to summary |
|---|---|
| private final TypeAnnotation[] allOnSameTargetTypeAnnotations | |
| annotations | back to summary |
|---|---|
| private final Map<Class<? extends Annotation>, Annotation> annotations | |
| location | back to summary |
|---|---|
| private final TypeAnnotation. | |
| type | back to summary |
|---|---|
| private final Type type | |
| AnnotatedTypeBaseImpl | back to summary |
|---|---|
| pack-priv AnnotatedTypeBaseImpl(Type type, TypeAnnotation. | |
| annotationsToString | back to summary |
|---|---|
| protected String annotationsToString(Annotation[] annotations, boolean leadingSpace) | |
| baseHashCode | back to summary |
|---|---|
| pack-priv int baseHashCode() | |
| equals | back to summary |
|---|---|
| public boolean equals(Object o) 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.
| |
| equalsTypeAndAnnotations | back to summary |
|---|---|
| protected boolean equalsTypeAndAnnotations(AnnotatedType that) | |
| getAnnotatedOwnerType | back to summary |
|---|---|
| public AnnotatedType getAnnotatedOwnerType() Overrides default java. Doc from java. Returns the potentially annotated type that this type is a member of, if
this type represents a nested type. For example, if this type is
Returns Returns
| |
| getAnnotation | back to summary |
|---|---|
| public final <T extends Annotation> T getAnnotation(Class<T> annotation) Implements java. Doc from java. Returns this element's annotation for the specified type if such an annotation is present, else null. Note that any annotation returned by this method is a type annotation.
| |
| getAnnotations | back to summary |
|---|---|
| public final 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. Note that any annotations returned by this method are type annotations.
| |
| getAnnotationsByType | back to summary |
|---|---|
| public final <T extends Annotation> T[] getAnnotationsByType(Class<T> annotation) Overrides default java. Doc from java. Returns annotations that are associated with this element.
If there are no annotations associated with this element, the return
value is an array of length 0.
The difference between this method and
| |
| getDeclaredAnnotation | back to summary |
|---|---|
| public final <T extends Annotation> T getDeclaredAnnotation(Class<T> annotation) Overrides default java. Doc from java. Returns this element's annotation for the specified type if such an annotation is directly present, else null. This method ignores inherited annotations. (Returns null if no annotations are directly present on this element.)
| |
| getDeclaredAnnotations | back to summary |
|---|---|
| public final 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. Note that any annotations returned by this method are type annotations.
| |
| getDeclaredAnnotationsByType | back to summary |
|---|---|
| public final <T extends Annotation> T[] getDeclaredAnnotationsByType(Class<T> annotation) Overrides default java. Doc from java. Returns this element's annotation(s) for the specified type if
such annotations are either directly present or
indirectly present. This method ignores inherited
annotations.
If there are no specified annotations directly or indirectly
present on this element, the return value is an array of length
0.
The difference between this method and
| |
| getLocation | back to summary |
|---|---|
| pack-priv final TypeAnnotation. | |
| getType | back to summary |
|---|---|
| public final Type getType() Implements java. Doc from java. Returns the underlying type that this annotated type represents.
| |
| getTypeAnnotations | back to summary |
|---|---|
| pack-priv final TypeAnnotation[] getTypeAnnotations() | |
| hashCode | back to summary |
|---|---|
| public int hashCode() Overrides java. Doc from java. Returns a hash code value for this 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.
Satisfying this method's contract implies a non-
| |
| Access | Constructor and Description |
|---|---|
| pack-priv | AnnotatedTypeVariableImpl(TypeVariable<?> type, TypeAnnotation.
|
| Modifier and Type | Method and Description |
|---|---|
| public boolean | equals(Object o)
Overrides sun. Indicates whether some other object is "equal to" this one. |
| public AnnotatedType[] | getAnnotatedBounds()
Implements java. Returns the potentially annotated bounds of this type variable. |
| public AnnotatedType | getAnnotatedOwnerType()
Overrides sun. Overrides default java. Implements java. Returns the potentially annotated type that this type is a member of, if this type represents a nested type. |
| private TypeVariable |
| AnnotatedTypeVariableImpl | back to summary |
|---|---|
| pack-priv AnnotatedTypeVariableImpl(TypeVariable<?> type, TypeAnnotation. | |
| equals | back to summary |
|---|---|
| public boolean equals(Object o) Overrides sun. 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 the potentially annotated bounds of this type variable.
If no bound is explicitly declared, the bound is unannotated
| |
| getAnnotatedOwnerType | back to summary |
|---|---|
| public AnnotatedType getAnnotatedOwnerType() Overrides sun. Overrides default java. Implements java. Doc from java. Returns the potentially annotated type that this type is a member of, if
this type represents a nested type. For example, if this type is
Returns
| |
| getTypeVariable | back to summary |
|---|---|
| private TypeVariable | |
| Modifier and Type | Field and Description |
|---|---|
| private final boolean |
| Access | Constructor and Description |
|---|---|
| pack-priv | AnnotatedWildcardTypeImpl(WildcardType type, TypeAnnotation.
|
| hasUpperBounds | back to summary |
|---|---|
| private final boolean hasUpperBounds | |
| AnnotatedWildcardTypeImpl | back to summary |
|---|---|
| pack-priv AnnotatedWildcardTypeImpl(WildcardType type, TypeAnnotation. | |
| equals | back to summary |
|---|---|
| public boolean equals(Object o) Overrides sun. 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 |
|---|---|
| private AnnotatedType[] getAnnotatedBounds(Type[] bounds) | |
| getAnnotatedLowerBounds | back to summary |
|---|---|
| public AnnotatedType[] getAnnotatedLowerBounds() Implements java. Doc from java. Returns the potentially annotated lower bounds of this wildcard type. If no lower bound is explicitly declared, the lower bound is the type of null. In this case, a zero length array is returned.
| |
| getAnnotatedOwnerType | back to summary |
|---|---|
| public AnnotatedType getAnnotatedOwnerType() Overrides sun. Overrides default java. Implements java. Doc from java. Returns the potentially annotated type that this type is a member of, if
this type represents a nested type. For example, if this type is
Returns
| |
| getAnnotatedUpperBounds | back to summary |
|---|---|
| public AnnotatedType[] getAnnotatedUpperBounds() Implements java. Doc from java. Returns the potentially annotated upper bounds of this wildcard type.
If no upper bound is explicitly declared, the upper bound is
unannotated
| |
| getWildcardType | back to summary |
|---|---|
| private WildcardType getWildcardType() | |
| hashCode | back to summary |
|---|---|
| public int hashCode() Overrides sun. Doc from java. Returns a hash code value for this object. This method is
supported for the benefit of hash tables such as those provided by
The general contract of
| |
| hasUpperBounds | back to summary |
|---|---|
| private boolean hasUpperBounds() | |
| toString | back to summary |
|---|---|
| public String toString() Overrides sun. Doc from java. Returns a string representation of the object.
Satisfying this method's contract implies a non-
| |