| Modifier and Type | Field and Description |
|---|---|
| private final @Nullable Object | annotatedType
An |
| private final ImmutableList | |
| private final Invokable | |
| private final int | |
| private final TypeToken |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public boolean | equals(Object
the reference object with which to compare. obj)Overrides java. |
| public AnnotatedType | |
| public <A extends Annotation> A | getAnnotation(Class<A>
the Class object corresponding to the
annotation type annotationType)Implements java. |
| public Annotation[] | getAnnotations()
Implements java. |
| public <A extends Annotation> A[] | getAnnotationsByType(Class<A>
the Class object corresponding to the
annotation type annotationType)Overrides default java. |
| public <A extends Annotation> A | getDeclaredAnnotation(Class<A>
the Class object corresponding to the
annotation type annotationType)Overrides default java. |
| public Annotation[] | getDeclaredAnnotations()
Implements java. |
| public <A extends Annotation> A[] | getDeclaredAnnotationsByType(Class<A>
the Class object corresponding to the
annotation type annotationType)Overrides default java. |
| public Invokable | |
| public TypeToken | |
| public int | |
| public boolean | isAnnotationPresent(Class<? extends Annotation>
the Class object corresponding to the
annotation type annotationType)Overrides default java. |
| public String |
| annotatedType | back to summary |
|---|---|
| private final @Nullable Object annotatedType An | |
| annotations | back to summary |
|---|---|
| private final ImmutableList<Annotation> annotations | |
| declaration | back to summary |
|---|---|
| private final Invokable<?, ?> declaration | |
| position | back to summary |
|---|---|
| private final int position | |
| type | back to summary |
|---|---|
| private final TypeToken<?> type | |
| Parameter | back to summary |
|---|---|
| pack-priv Parameter(Invokable<?, ?> declaration, int position, TypeToken<?> type, Annotation[] annotations, @Nullable Object annotatedType) | |
| 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. | |
| getAnnotatedType | back to summary |
|---|---|
| public AnnotatedType getAnnotatedType() Returns the This method will fail if run under an Android VM.
| |
| getAnnotation | back to summary |
|---|---|
| public <A extends Annotation> A getAnnotation(Class<A> annotationType) 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.
| |
| getAnnotationsByType | back to summary |
|---|---|
| public <A extends Annotation> A[] getAnnotationsByType(Class<A> annotationType) 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 <A extends Annotation> A getDeclaredAnnotation(Class<A> annotationType) 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 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.
| |
| getDeclaredAnnotationsByType | back to summary |
|---|---|
| public <A extends Annotation> A[] getDeclaredAnnotationsByType(Class<A> annotationType) 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
| |
| getDeclaringInvokable | back to summary |
|---|---|
| public Invokable Returns the | |
| getType | back to summary |
|---|---|
| public TypeToken Returns the type of the parameter. | |
| 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
| |
| isAnnotationPresent | back to summary |
|---|---|
| public boolean isAnnotationPresent(Class<? extends Annotation> annotationType) Overrides default java. Doc from java. Returns true if an annotation for the specified type is present on this element, else false. This method is designed primarily for convenient access to marker annotations. The truth value returned by this method is equivalent to:
| |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns a string representation of the object. | |