protected static class TypePool.AbstractBase.RawNonPrimitiveArray.Loaded extends Object implements AnnotationDescription.AnnotationValue.Loaded<Object[]>
AnnotationDescription.AnnotationValue.Loaded.State
Constructor and Description |
---|
Loaded(Class<?> componentType,
List<AnnotationDescription.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) |
AnnotationDescription.AnnotationValue.Loaded.State |
getState()
Returns the state of the represented loaded annotation value.
|
int |
hashCode() |
Object[] |
resolve()
Resolves the value to the actual value of an annotation.
|
String |
toString() |
public Loaded(Class<?> componentType, List<AnnotationDescription.AnnotationValue.Loaded<?>> values)
componentType
- The array's loaded component type.values
- A list of loaded values of the represented complex array.public AnnotationDescription.AnnotationValue.Loaded.State getState()
AnnotationDescription.AnnotationValue.Loaded
getState
in interface AnnotationDescription.AnnotationValue.Loaded<Object[]>
public Object[] resolve()
AnnotationDescription.AnnotationValue.Loaded
resolve
in interface AnnotationDescription.AnnotationValue.Loaded<Object[]>
Copyright © 2014–2016. All rights reserved.