protected static class TypePool.AbstractBase.RawTypeValue.Loaded extends AnnotationValue.Loaded.AbstractBase<java.lang.Class<?>>
AnnotationValue.Loaded.AbstractBase<W>, AnnotationValue.Loaded.State| Modifier and Type | Field and Description |
|---|---|
private java.lang.Class<?> |
type
The type that is represented by an annotation property.
|
| Constructor and Description |
|---|
Loaded(java.lang.Class<?> type)
Creates a new representation for an annotation property referencing a type.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object other) |
AnnotationValue.Loaded.State |
getState()
Returns the state of the represented loaded annotation value.
|
int |
hashCode() |
boolean |
represents(java.lang.Object value)
Verifies if this loaded value represents the supplied loaded value.
|
java.lang.Class<?> |
resolve()
Resolves the value to the actual value of an annotation.
|
java.lang.String |
toString() |
resolveprivate final java.lang.Class<?> type
public Loaded(java.lang.Class<?> type)
type - The type that is represented by an annotation property.public AnnotationValue.Loaded.State getState()
public java.lang.Class<?> resolve()
public boolean represents(java.lang.Object value)
value - A loaded annotation value.true if the supplied annotation value is represented by this annotation value.public int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object other)
equals in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.Object