protected static class TypePool.Default.LazyTypeDescription.TokenizedGenericType extends TypeDescription.Generic.LazyProjection.WithEagerNavigation
TypePool.Default.LazyTypeDescription.GenericTypeToken.| Modifier and Type | Class and Description |
|---|---|
protected static class |
TypePool.Default.LazyTypeDescription.TokenizedGenericType.Malformed
A lazy description of a non-well-defined described generic type.
|
protected static class |
TypePool.Default.LazyTypeDescription.TokenizedGenericType.TokenList
A tokenized list of generic types.
|
protected static class |
TypePool.Default.LazyTypeDescription.TokenizedGenericType.TypeVariableList
A list of tokenized type variables.
|
TypeDescription.Generic.LazyProjection.WithEagerNavigation.OfAnnotatedElementTypeDescription.Generic.LazyProjection.ForLoadedFieldType, TypeDescription.Generic.LazyProjection.ForLoadedReturnType, TypeDescription.Generic.LazyProjection.ForLoadedSuperClass, TypeDescription.Generic.LazyProjection.OfConstructorParameter, TypeDescription.Generic.LazyProjection.OfMethodParameter, TypeDescription.Generic.LazyProjection.OfRecordComponent, TypeDescription.Generic.LazyProjection.WithEagerNavigation, TypeDescription.Generic.LazyProjection.WithLazyNavigation, TypeDescription.Generic.LazyProjection.WithResolvedErasureTypeDescription.Generic.AbstractBase, TypeDescription.Generic.AnnotationReader, TypeDescription.Generic.Builder, TypeDescription.Generic.LazyProjection, TypeDescription.Generic.LazyProxy, TypeDescription.Generic.OfGenericArray, TypeDescription.Generic.OfNonGenericType, TypeDescription.Generic.OfParameterizedType, TypeDescription.Generic.OfTypeVariable, TypeDescription.Generic.OfWildcardType, TypeDescription.Generic.Visitor<T>TypeDefinition.Sort, TypeDefinition.SuperClassIteratorNamedElement.WithDescriptor, NamedElement.WithGenericName, NamedElement.WithOptionalName, NamedElement.WithRuntimeNameModifierReviewable.ForFieldDescription, ModifierReviewable.ForMethodDescription, ModifierReviewable.ForParameterDescription, ModifierReviewable.ForTypeDefinition, ModifierReviewable.OfAbstraction, ModifierReviewable.OfByteCodeElement, ModifierReviewable.OfEnumerationAnnotationSource.Empty, AnnotationSource.ExplicitANNOTATION, CLASS, OBJECT, UNDEFINED, VOIDRAW_TYPES_PROPERTYEMPTY_NAME, NO_NAMEEMPTY_MASK| Modifier | Constructor and Description |
|---|---|
protected |
TokenizedGenericType(TypePool typePool,
TypePool.Default.LazyTypeDescription.GenericTypeToken genericTypeToken,
String rawTypeDescriptor,
Map<String,List<TypePool.Default.LazyTypeDescription.AnnotationToken>> annotationTokens,
TypeVariableSource typeVariableSource)
Creates a new tokenized generic type.
|
| Modifier and Type | Method and Description |
|---|---|
TypeDescription |
asErasure()
Returns the erasure of this type.
|
AnnotationList |
getDeclaredAnnotations()
Returns a list of annotations that are declared by this instance.
|
protected static TypeDescription.Generic |
of(TypePool typePool,
TypePool.Default.LazyTypeDescription.GenericTypeToken genericTypeToken,
String rawTypeDescriptor,
Map<String,List<TypePool.Default.LazyTypeDescription.AnnotationToken>> annotationTokens,
TypeVariableSource typeVariableSource)
Creates a new generic type description for a tokenized generic type.
|
protected TypeDescription.Generic |
resolve()
Resolves the actual generic type.
|
protected static TypeDescription |
toErasure(TypePool typePool,
String descriptor)
Creates a type description from a descriptor by looking up the corresponding type.
|
getInterfaces, getSuperClass, iteratoraccept, equals, findBindingOf, getActualName, getComponentType, getDeclaredFields, getDeclaredMethods, getLowerBounds, getOwnerType, getRecordComponents, getSort, getStackSize, getSymbol, getTypeArguments, getTypeName, getTypeVariableSource, getUpperBounds, hashCode, isArray, isPrimitive, isRecord, represents, toStringasGenericType, asRawType, getModifiersgetEnumerationState, getFieldManifestation, getFieldPersistence, getMethodManifestation, getMethodStrictness, getOwnership, getParameterManifestation, getProvisioningState, getSynchronizationState, getSyntheticState, getTypeManifestation, getVisibility, isAbstract, isAnnotation, isBridge, isDeprecated, isEnum, isFinal, isInterface, isMandated, isNative, isPackagePrivate, isPrivate, isProtected, isPublic, isStatic, isStrict, isSynchronized, isSynthetic, isTransient, isVarArgs, isVolatileclone, finalize, getClass, notify, notifyAll, wait, wait, waitgetTypeManifestation, isAnnotation, isInterfaceisAbstractgetEnumerationState, isEnumgetOwnership, getVisibility, isDeprecated, isPackagePrivate, isPrivate, isProtected, isPublic, isStaticgetSyntheticState, isFinal, isSyntheticforEach, spliteratorprotected TokenizedGenericType(TypePool typePool, TypePool.Default.LazyTypeDescription.GenericTypeToken genericTypeToken, String rawTypeDescriptor, Map<String,List<TypePool.Default.LazyTypeDescription.AnnotationToken>> annotationTokens, TypeVariableSource typeVariableSource)
typePool - The type pool to use for locating referenced types.genericTypeToken - The token that describes the represented generic type.rawTypeDescriptor - A descriptor of the generic type's erasure.annotationTokens - The tokenized type's type annotation tokens.typeVariableSource - The closest type variable source of this generic type's declaration context.protected static TypeDescription.Generic of(TypePool typePool, TypePool.Default.LazyTypeDescription.GenericTypeToken genericTypeToken, String rawTypeDescriptor, @MaybeNull Map<String,List<TypePool.Default.LazyTypeDescription.AnnotationToken>> annotationTokens, TypeVariableSource typeVariableSource)
typePool - The type pool to use for locating referenced types.genericTypeToken - The token that describes the represented generic type.rawTypeDescriptor - A descriptor of the generic type's erasure.annotationTokens - The tokenized type's type annotation tokens or null if no such annotations are defined.typeVariableSource - The closest type variable source of this generic type's declaration context.protected static TypeDescription toErasure(TypePool typePool, String descriptor)
typePool - The type pool to use for locating a type.descriptor - The descriptor to interpret.@CachedReturnPlugin.Enhance(value="resolved") protected TypeDescription.Generic resolve()
TypeDescription.Generic.LazyProjectionresolve in class TypeDescription.Generic.LazyProjection@CachedReturnPlugin.Enhance(value="erasure") public TypeDescription asErasure()
TypeDescription.Generic.Sort#WILDCARD)
do not have a well-defined erasure and cause an IllegalStateException to be thrown.public AnnotationList getDeclaredAnnotations()
Copyright © 2014–2025. All rights reserved.