public static class TypeDescription.Generic.OfGenericArray.Latent extends TypeDescription.Generic.OfGenericArray
TypeDescription.Generic.OfGenericArray.ForLoadedType, TypeDescription.Generic.OfGenericArray.Latent
TypeDescription.Generic.AbstractBase, TypeDescription.Generic.AnnotationReader, TypeDescription.Generic.Builder, TypeDescription.Generic.LazyProjection, TypeDescription.Generic.OfGenericArray, TypeDescription.Generic.OfNonGenericType, TypeDescription.Generic.OfParameterizedType, TypeDescription.Generic.OfTypeVariable, TypeDescription.Generic.OfWildcardType, TypeDescription.Generic.Visitor<T>
TypeDefinition.Sort, TypeDefinition.SuperClassIterator
NamedElement.WithGenericName, NamedElement.WithOptionalName, NamedElement.WithRuntimeName
ModifierReviewable.ForFieldDescription, ModifierReviewable.ForMethodDescription, ModifierReviewable.ForParameterDescription, ModifierReviewable.ForTypeDefinition, ModifierReviewable.OfAbstraction, ModifierReviewable.OfByteCodeElement, ModifierReviewable.OfEnumeration
ANNOTATION, OBJECT, UNDEFINED, VOID
EMPTY_NAME, NO_NAME
EMPTY_MASK
Constructor and Description |
---|
Latent(TypeDescription.Generic componentType,
List<? extends AnnotationDescription> declaredAnnotations)
Creates a latent representation of a generic array type.
|
Modifier and Type | Method and Description |
---|---|
TypeDescription.Generic |
getComponentType()
Returns the component type of this type.
|
AnnotationList |
getDeclaredAnnotations()
Returns a list of annotations that are declared by this instance.
|
accept, asErasure, equals, getActualName, getDeclaredFields, getDeclaredMethods, getInterfaces, getLowerBounds, getOwnerType, getSort, getStackSize, getSuperClass, getSymbol, getTypeArguments, getTypeName, getTypeVariableSource, getUpperBounds, hashCode, isArray, isPrimitive, iterator, toString
asGenericType, asRawType, getModifiers, represents
isAbstract, isAnnotation, isBridge, isDeprecated, isEnum, isFinal, isInterface, isMandated, isNative, isPackagePrivate, isPrivate, isProtected, isPublic, isStatic, isStrict, isSynchronized, isSynthetic, isTransient, isVarArgs, isVolatile
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
isAnnotation, isInterface
isAbstract
isEnum
isDeprecated, isPackagePrivate, isPrivate, isProtected, isPublic, isStatic
isFinal, isSynthetic
forEach, spliterator
public Latent(TypeDescription.Generic componentType, List<? extends AnnotationDescription> declaredAnnotations)
componentType
- The component type.declaredAnnotations
- This type's type annotations.public TypeDescription.Generic getComponentType()
TypeDefinition
Returns the component type of this type.
Only non-generic types (TypeDescription.Generic.Sort#NON_GENERIC
) and generic array types
TypeDescription.Generic.Sort#GENERIC_ARRAY
) define a component type. For other
types, an IllegalStateException
is thrown.
null
if this type does not represent an array type.public AnnotationList getDeclaredAnnotations()
AnnotatedCodeElement
Copyright © 2014–2016. All rights reserved.