protected static class TypePool.AbstractBase.RawDescriptionArray extends AnnotationValue.AbstractBase<java.lang.Object[],java.lang.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 java.lang.annotation.Annotation>, AnnotationValue.ForConstant<U>, AnnotationValue.ForDescriptionArray<U,V>, AnnotationValue.ForEnumerationDescription<U extends java.lang.Enum<U>>, AnnotationValue.ForTypeDescription<U extends java.lang.Class<U>>, AnnotationValue.RenderingDispatcher| Modifier and Type | Field and Description |
|---|---|
private TypePool.AbstractBase.RawDescriptionArray.ComponentTypeReference |
componentTypeReference
A reference to the component type.
|
private TypePool |
typePool
The type pool to use for looking up types.
|
private java.util.List<AnnotationValue<?,?>> |
values
A list of all values of this array value in their order.
|
UNDEFINED| Constructor and Description |
|---|
RawDescriptionArray(TypePool typePool,
TypePool.AbstractBase.RawDescriptionArray.ComponentTypeReference componentTypeReference,
java.util.List<AnnotationValue<?,?>> values)
Creates a new array value representation of a complex array.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object other) |
int |
hashCode() |
AnnotationValue.Loaded<java.lang.Object[]> |
load(java.lang.ClassLoader classLoader)
Returns the loaded value of this annotation.
|
java.lang.Object[] |
resolve()
Resolves the unloaded value of this annotation.
|
java.lang.String |
toString() |
loadSilent, resolveprivate final TypePool typePool
private final TypePool.AbstractBase.RawDescriptionArray.ComponentTypeReference componentTypeReference
private java.util.List<AnnotationValue<?,?>> values
public RawDescriptionArray(TypePool typePool, TypePool.AbstractBase.RawDescriptionArray.ComponentTypeReference componentTypeReference, java.util.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 java.lang.Object[] resolve()
public AnnotationValue.Loaded<java.lang.Object[]> load(java.lang.ClassLoader classLoader) throws java.lang.ClassNotFoundException
classLoader - The class loader for loading this value.java.lang.ClassNotFoundException - If a type that represents a loaded value cannot be found.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