U
- The represented type.protected static class AnnotationValue.ForTypeDescription.Loaded<U extends java.lang.Class<U>> extends AnnotationValue.Loaded.AbstractBase<U>
AnnotationValue.Loaded.AbstractBase<W>, AnnotationValue.Loaded.State
Constructor and Description |
---|
Loaded(U type)
Creates a new loaded annotation value for a given 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.
|
U |
resolve()
Resolves the value to the actual value of an annotation.
|
java.lang.String |
toString() |
resolve
public Loaded(U type)
type
- The represented type.public AnnotationValue.Loaded.State getState()
public U 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.Object
public boolean equals(java.lang.Object other)
equals
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object