V
- The annotation type.public static class AnnotationValue.ForAnnotationDescription.Loaded<V extends Annotation> extends AnnotationValue.Loaded.AbstractBase<V>
AnnotationValue.Loaded.AbstractBase.ForUnresolvedProperty<Z>
AnnotationValue.Loaded.AbstractBase<W>
Constructor and Description |
---|
Loaded(V annotation)
Creates a representation of a loaded annotation.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object other) |
AnnotationValue.State |
getState()
Returns the state of the represented loaded annotation value.
|
int |
hashCode() |
boolean |
represents(Object value)
Verifies if this loaded value represents the supplied loaded value.
|
V |
resolve()
Resolves the value to the actual value of an annotation.
|
String |
toString() |
resolve
public Loaded(V annotation)
annotation
- The represented annotation.public AnnotationValue.State getState()
public V resolve()
public boolean represents(Object value)
value
- A loaded annotation value.true
if the supplied annotation value is represented by this annotation value.Copyright © 2014–2019. All rights reserved.