protected static class TypePool.AbstractBase.RawDescriptionArray.Loaded extends AnnotationValue.Loaded.AbstractBase<java.lang.Object[]>
AnnotationValue.Loaded.AbstractBase<W>, AnnotationValue.Loaded.State| Modifier and Type | Field and Description |
|---|---|
private java.lang.Class<?> |
componentType
The array's loaded component type.
|
private java.util.List<AnnotationValue.Loaded<?>> |
values
A list of loaded values of the represented complex array.
|
| Constructor and Description |
|---|
Loaded(java.lang.Class<?> componentType,
java.util.List<AnnotationValue.Loaded<?>> values)
Creates a new representation of an annotation property representing an array of
non-trivial values.
|
| 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.
|
java.lang.Object[] |
resolve()
Resolves the value to the actual value of an annotation.
|
java.lang.String |
toString() |
resolveprivate final java.lang.Class<?> componentType
private final java.util.List<AnnotationValue.Loaded<?>> values
public Loaded(java.lang.Class<?> componentType,
java.util.List<AnnotationValue.Loaded<?>> values)
componentType - The array's loaded component type.values - A list of loaded values of the represented complex array.public AnnotationValue.Loaded.State getState()
public java.lang.Object[] 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.Objectpublic boolean equals(java.lang.Object other)
equals in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.Object