protected static class TypePool.AbstractBase.RawDescriptionArray extends AnnotationValue.AbstractBase<Object[],Object[]>
Strings.| Modifier and Type | Class and Description |
|---|---|
static interface |
TypePool.AbstractBase.RawDescriptionArray.ComponentTypeReference
A lazy representation of the component type of an array.
|
protected static class |
TypePool.AbstractBase.RawDescriptionArray.Loaded
Represents a loaded annotation property representing a complex array.
|
AnnotationValue.AbstractBase<U,V>, AnnotationValue.ForAnnotationDescription<U extends Annotation>, AnnotationValue.ForConstant<U>, AnnotationValue.ForDescriptionArray<U,V>, AnnotationValue.ForEnumerationDescription<U extends Enum<U>>, AnnotationValue.ForTypeDescription<U extends Class<U>>, AnnotationValue.RenderingDispatcherUNDEFINED| Constructor and Description |
|---|
RawDescriptionArray(TypePool typePool,
TypePool.AbstractBase.RawDescriptionArray.ComponentTypeReference componentTypeReference,
List<AnnotationValue<?,?>> values)
Creates a new array value representation of a complex array.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object other) |
int |
hashCode() |
AnnotationValue.Loaded<Object[]> |
load(ClassLoader classLoader)
Returns the loaded value of this annotation.
|
Object[] |
resolve()
Resolves the unloaded value of this annotation.
|
String |
toString() |
loadSilent, resolvepublic RawDescriptionArray(TypePool typePool, TypePool.AbstractBase.RawDescriptionArray.ComponentTypeReference componentTypeReference, List<AnnotationValue<?,?>> values)
typePool - The type pool to use for looking up types.componentTypeReference - A lazy reference to the component type of this array.values - A list of all values of this annotation.public Object[] resolve()
public AnnotationValue.Loaded<Object[]> load(ClassLoader classLoader) throws ClassNotFoundException
classLoader - The class loader for loading this value.ClassNotFoundException - If a type that represents a loaded value cannot be found.Copyright © 2014–2019. All rights reserved.