V - The annotation properties type.protected static class AnnotationValue.ForConstant.Loaded<V> extends AnnotationValue.Loaded.AbstractBase<V>
AnnotationValue.Loaded.AbstractBase.ForUnresolvedProperty<Z>AnnotationValue.Loaded.AbstractBase<W>| Modifier | Constructor and Description |
|---|---|
protected |
Loaded(V value,
AnnotationValue.ForConstant.PropertyDelegate propertyDelegate)
Creates a new loaded representation of a constant value.
|
| 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() |
resolveprotected Loaded(V value, AnnotationValue.ForConstant.PropertyDelegate propertyDelegate)
value - The represented value.propertyDelegate - The property delegate for the value's type.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.@CachedReturnPlugin.Enhance(value="hashCode") public int hashCode()
public boolean equals(@MaybeNull Object other)
Copyright © 2014–2023. All rights reserved.