public final class AnnotatedArrayTypes
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static interface |
AnnotatedArrayTypes.AnnotatedArrayTypeInternal |
Modifier and Type | Method and Description |
---|---|
static java.lang.reflect.AnnotatedArrayType |
arrayFromComponent(java.lang.reflect.AnnotatedType component,
java.lang.annotation.Annotation... annotations)
Derive a new
AnnotatedArrayType instance from a given annotated
component type, and the given annotations. |
static java.lang.reflect.AnnotatedArrayType |
arrayFromComponent(java.lang.reflect.AnnotatedType component,
java.util.Collection<java.lang.annotation.Annotation> annotations)
Derive a new
AnnotatedArrayType instance from a given annotated
component type, and the given annotations. |
static java.lang.reflect.AnnotatedArrayType |
over(java.lang.Class<?> arrayType,
java.lang.annotation.Annotation... annotations)
Create a new annotated representation of a given array type.
|
static java.lang.reflect.AnnotatedArrayType |
over(java.lang.Class<?> arrayType,
java.util.Collection<java.lang.annotation.Annotation> annotations)
Create a new annotated representation of a given array type.
|
static java.lang.reflect.AnnotatedArrayType |
over(java.lang.reflect.GenericArrayType arrayType,
java.lang.annotation.Annotation... annotations)
Create a new annotated representation of a given generic array type.
|
static java.lang.reflect.AnnotatedArrayType |
over(java.lang.reflect.GenericArrayType arrayType,
java.util.Collection<java.lang.annotation.Annotation> annotations)
Create a new annotated representation of a given generic array type.
|
static java.lang.reflect.AnnotatedArrayType |
wrap(java.lang.reflect.AnnotatedArrayType type)
Wrap an existing annotated array type.
|
protected static AnnotatedArrayTypes.AnnotatedArrayTypeInternal |
wrapImpl(java.lang.reflect.AnnotatedArrayType type) |
protected static AnnotatedArrayTypes.AnnotatedArrayTypeInternal |
wrapImpl(Isomorphism isomorphism,
java.lang.reflect.AnnotatedArrayType type) |
public static java.lang.reflect.AnnotatedArrayType arrayFromComponent(java.lang.reflect.AnnotatedType component, java.lang.annotation.Annotation... annotations)
AnnotatedArrayType
instance from a given annotated
component type, and the given annotations.component
- The annotated component type of the new annotated array.annotations
- The annotations for the new annotated array type.public static java.lang.reflect.AnnotatedArrayType arrayFromComponent(java.lang.reflect.AnnotatedType component, java.util.Collection<java.lang.annotation.Annotation> annotations)
AnnotatedArrayType
instance from a given annotated
component type, and the given annotations.component
- The annotated component type of the new annotated array.annotations
- The annotations for the new annotated array type.public static java.lang.reflect.AnnotatedArrayType over(java.lang.reflect.GenericArrayType arrayType, java.lang.annotation.Annotation... annotations)
arrayType
- The array type to be annotated.annotations
- The annotations for the annotated array type.public static java.lang.reflect.AnnotatedArrayType over(java.lang.reflect.GenericArrayType arrayType, java.util.Collection<java.lang.annotation.Annotation> annotations)
arrayType
- The array type to be annotated.annotations
- The annotations for the annotated array type.public static java.lang.reflect.AnnotatedArrayType over(java.lang.Class<?> arrayType, java.lang.annotation.Annotation... annotations)
arrayType
- The array type to be annotated.annotations
- The annotations for the annotated array type.public static java.lang.reflect.AnnotatedArrayType over(java.lang.Class<?> arrayType, java.util.Collection<java.lang.annotation.Annotation> annotations)
arrayType
- The array type to be annotated.annotations
- The annotations for the annotated array type.protected static AnnotatedArrayTypes.AnnotatedArrayTypeInternal wrapImpl(java.lang.reflect.AnnotatedArrayType type)
protected static AnnotatedArrayTypes.AnnotatedArrayTypeInternal wrapImpl(Isomorphism isomorphism, java.lang.reflect.AnnotatedArrayType type)
public static java.lang.reflect.AnnotatedArrayType wrap(java.lang.reflect.AnnotatedArrayType type)
type
- The type we wish to wrap.AnnotatedArrayType
which is equal to the
given type.