V
- The type of the represented enumeration.public static class AnnotationValue.ForEnumerationDescription.Loaded<V extends java.lang.Enum<V>> extends AnnotationValue.Loaded.AbstractBase<V>
AnnotationValue.Loaded.AbstractBase<W>, AnnotationValue.Loaded.State
Modifier and Type | Field and Description |
---|---|
private V |
enumeration
The represented enumeration.
|
Constructor and Description |
---|
Loaded(V enumeration)
Creates a loaded version of an enumeration description.
|
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.
|
V |
resolve()
Resolves the value to the actual value of an annotation.
|
java.lang.String |
toString() |
resolve
public Loaded(V enumeration)
enumeration
- The represented enumeration.public AnnotationValue.Loaded.State getState()
public V 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