W
- The component type of the loaded array.protected static class AnnotationValue.ForDescriptionArray.Loaded<W> extends AnnotationValue.Loaded.AbstractBase<W[]>
AnnotationValue.Loaded.AbstractBase<W>, AnnotationValue.Loaded.State
Modifier and Type | Field and Description |
---|---|
private java.lang.Class<W> |
componentType
The loaded component type of the array.
|
private java.util.List<AnnotationValue.Loaded<?>> |
values
A list of loaded values that the represented array contains.
|
Modifier | Constructor and Description |
---|---|
protected |
Loaded(java.lang.Class<W> componentType,
java.util.List<AnnotationValue.Loaded<?>> values)
Creates a new loaded value representing a complex array.
|
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.
|
W[] |
resolve()
Resolves the value to the actual value of an annotation.
|
java.lang.String |
toString() |
resolve
private final java.lang.Class<W> componentType
private final java.util.List<AnnotationValue.Loaded<?>> values
protected Loaded(java.lang.Class<W> componentType, java.util.List<AnnotationValue.Loaded<?>> values)
componentType
- The loaded component type of the array.values
- A list of loaded values that the represented array contains.public AnnotationValue.Loaded.State getState()
public W[] 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