protected static class TypePool.AbstractBase.RawDescriptionArray.Loaded extends AnnotationValue.Loaded.AbstractBase<Object[]>
AnnotationValue.Loaded.AbstractBase<W>, AnnotationValue.Loaded.State
Constructor and Description |
---|
Loaded(Class<?> componentType,
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(Object other) |
AnnotationValue.Loaded.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.
|
Object[] |
resolve()
Resolves the value to the actual value of an annotation.
|
String |
toString() |
resolve
public Loaded(Class<?> componentType, 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()
AnnotationValue.Loaded
public Object[] resolve()
AnnotationValue.Loaded
public boolean represents(Object value)
AnnotationValue.Loaded
value
- A loaded annotation value.true
if the supplied annotation value is represented by this annotation value.Copyright © 2014–2018. All rights reserved.