U - The component type of the annotation's value when it is not loaded.V - The component type of the annotation's value when it is loaded.public static class AnnotationValue.ForDescriptionArray<U,V> extends AnnotationValue.AbstractBase<U[],V[]>
Class, Annotation and Enum
 instances.| Modifier and Type | Class and Description | 
|---|---|
protected static class  | 
AnnotationValue.ForDescriptionArray.Loaded<W>
Represents a loaded 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| Modifier | Constructor and Description | 
|---|---|
protected  | 
ForDescriptionArray(Class<?> unloadedComponentType,
                   TypeDescription componentType,
                   List<? extends AnnotationValue<?,?>> values)
Creates a new complex array. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
boolean | 
equals(Object other)  | 
int | 
hashCode()  | 
AnnotationValue.Loaded<V[]> | 
load(ClassLoader classLoader)
Returns the loaded value of this annotation. 
 | 
static AnnotationValue<TypeDescription[],Class<?>[]> | 
of(TypeDescription[] typeDescription)
Creates a new complex array of annotation descriptions. 
 | 
static <W extends Annotation> | 
of(TypeDescription annotationType,
  AnnotationDescription[] annotationDescription)
Creates a new complex array of annotation descriptions. 
 | 
static <W extends Enum<W>> | 
of(TypeDescription enumerationType,
  EnumerationDescription[] enumerationDescription)
Creates a new complex array of enumeration descriptions. 
 | 
U[] | 
resolve()
Resolves the unloaded value of this annotation. 
 | 
String | 
toString()  | 
loadSilent, resolveprotected ForDescriptionArray(Class<?> unloadedComponentType, TypeDescription componentType, List<? extends AnnotationValue<?,?>> values)
unloadedComponentType - The component type for arrays containing unloaded versions of the annotation array's values.componentType - A description of the component type when it is loaded.values - A list of values of the array elements.public static <W extends Enum<W>> AnnotationValue<EnumerationDescription[],W[]> of(TypeDescription enumerationType, EnumerationDescription[] enumerationDescription)
W - The type of the enumeration.enumerationType - A description of the type of the enumeration.enumerationDescription - An array of enumeration descriptions.public static <W extends Annotation> AnnotationValue<AnnotationDescription[],W[]> of(TypeDescription annotationType, AnnotationDescription[] annotationDescription)
W - The type of the annotation.annotationType - A description of the type of the annotation.annotationDescription - An array of annotation descriptions.public static AnnotationValue<TypeDescription[],Class<?>[]> of(TypeDescription[] typeDescription)
typeDescription - A description of the types contained in the array.public U[] resolve()
AnnotationValuepublic AnnotationValue.Loaded<V[]> load(ClassLoader classLoader) throws ClassNotFoundException
AnnotationValueclassLoader - The class loader for loading this value.ClassNotFoundException - If a type that represents a loaded value cannot be found.Copyright © 2014–2017. All rights reserved.