public static class TypeDescription.Generic.OfNonGenericType.Latent extends TypeDescription.Generic.OfNonGenericType
TypeDescription.TypeDescription.Generic.OfNonGenericType.ForLoadedType, TypeDescription.Generic.OfNonGenericType.LatentTypeDescription.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.SuperClassIteratorNamedElement.WithGenericName, NamedElement.WithRuntimeNameANNOTATION, OBJECT, UNDEFINED, VOIDEMPTY_NAME, NO_NAME| Constructor and Description |
|---|
Latent(TypeDescription typeDescription,
List<? extends AnnotationDescription> declaredAnnotations)
Creates a new raw type representation.
|
| Modifier and Type | Method and Description |
|---|---|
TypeDescription |
asErasure()
Returns the erasure of this type.
|
TypeDescription.Generic |
getComponentType()
Returns the component type of this type.
|
AnnotationList |
getDeclaredAnnotations()
Returns a list of annotations that are declared by this instance.
|
accept, equals, getDeclaredFields, getDeclaredMethods, getInterfaces, getLowerBounds, getOwnerType, getSort, getSourceCodeName, getStackSize, getSuperClass, getSymbol, getTypeArguments, getTypeName, getUpperBounds, getVariableSource, hashCode, isArray, isPrimitive, iterator, represents, toStringasGenericType, asRawTypeclone, finalize, getClass, notify, notifyAll, wait, wait, waitforEach, spliteratorpublic Latent(TypeDescription typeDescription, List<? extends AnnotationDescription> declaredAnnotations)
typeDescription - The represented non-generic type.declaredAnnotations - This type's type annotations.public TypeDescription asErasure()
TypeDefinitionTypeDescription.Generic.Sort#WILDCARD)
do not have a well-defined erasure and cause an IllegalStateException to be thrown.public TypeDescription.Generic getComponentType()
TypeDefinitionReturns 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()
AnnotatedCodeElementCopyright © 2014–2016. All rights reserved.