V - The annotation properties type.public static class AnnotationValue.ForConstant.Loaded<V> extends AnnotationValue.Loaded.AbstractBase<V>
AnnotationValue.Loaded.AbstractBase<W>, AnnotationValue.Loaded.State| Constructor and Description |
|---|
Loaded(V value,
PropertyDispatcher propertyDispatcher)
Creates a new trivial loaded annotation value representation.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object other) |
AnnotationValue.Loaded.State |
getState()
Returns the state of the represented loaded annotation value.
|
int |
hashCode() |
V |
resolve()
Resolves the value to the actual value of an annotation.
|
String |
toString() |
resolvepublic Loaded(V value, PropertyDispatcher propertyDispatcher)
value - The represented value.propertyDispatcher - The property dispatcher for computing this value's hash
code, string and equals implementation.public AnnotationValue.Loaded.State getState()
AnnotationValue.Loadedpublic V resolve()
AnnotationValue.LoadedCopyright © 2014–2016. All rights reserved.