Class TypePool.Default.LazyTypeDescription.GenericTypeToken.Resolution.ForType.Tokenized
java.lang.Object
net.bytebuddy.pool.TypePool.Default.LazyTypeDescription.GenericTypeToken.Resolution.ForType.Tokenized
- All Implemented Interfaces:
TypePool.Default.LazyTypeDescription.GenericTypeToken.Resolution, TypePool.Default.LazyTypeDescription.GenericTypeToken.Resolution.ForType
- Enclosing interface:
TypePool.Default.LazyTypeDescription.GenericTypeToken.Resolution.ForType
@Enhance
public static class TypePool.Default.LazyTypeDescription.GenericTypeToken.Resolution.ForType.Tokenized
extends Object
implements TypePool.Default.LazyTypeDescription.GenericTypeToken.Resolution.ForType
An implementation of a tokenized resolution of generic types of a
TypeDescription.-
Nested Class Summary
Nested classes/interfaces inherited from interface TypePool.Default.LazyTypeDescription.GenericTypeToken.Resolution
TypePool.Default.LazyTypeDescription.GenericTypeToken.Resolution.ForField, TypePool.Default.LazyTypeDescription.GenericTypeToken.Resolution.ForMethod, TypePool.Default.LazyTypeDescription.GenericTypeToken.Resolution.ForRecordComponent, TypePool.Default.LazyTypeDescription.GenericTypeToken.Resolution.ForType, TypePool.Default.LazyTypeDescription.GenericTypeToken.Resolution.Malformed, TypePool.Default.LazyTypeDescription.GenericTypeToken.Resolution.RawNested classes/interfaces inherited from interface TypePool.Default.LazyTypeDescription.GenericTypeToken.Resolution.ForType
TypePool.Default.LazyTypeDescription.GenericTypeToken.Resolution.ForType.Tokenized -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final List<TypePool.Default.LazyTypeDescription.GenericTypeToken> The interface type's generic type tokens.private final TypePool.Default.LazyTypeDescription.GenericTypeTokenThe super type's generic type token.The type variables generic type tokens. -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedTokenized(TypePool.Default.LazyTypeDescription.GenericTypeToken superClassToken, List<TypePool.Default.LazyTypeDescription.GenericTypeToken> interfaceTypeTokens, List<TypePool.Default.LazyTypeDescription.GenericTypeToken.OfFormalTypeVariable> typeVariableTokens) Creates a new tokenized resolution of aTypeDescription's generic signatures. -
Method Summary
Modifier and TypeMethodDescriptionresolveInterfaceTypes(List<String> interfaceTypeDescriptors, TypePool typePool, Map<Integer, Map<String, List<TypePool.Default.LazyTypeDescription.AnnotationToken>>> annotationTokens, TypeDescription definingType) Resolves the generic interface types of the represented type.resolveSuperClass(String superClassDescriptor, TypePool typePool, Map<String, List<TypePool.Default.LazyTypeDescription.AnnotationToken>> annotationTokens, TypeDescription definingType) Resolves the generic super type of the represented type.resolveTypeVariables(TypePool typePool, TypeVariableSource typeVariableSource, Map<Integer, Map<String, List<TypePool.Default.LazyTypeDescription.AnnotationToken>>> annotationTokens, Map<Integer, Map<Integer, Map<String, List<TypePool.Default.LazyTypeDescription.AnnotationToken>>>> boundAnnotationTokens) Resolves the type variables of the represented element.
-
Field Details
-
superClassToken
The super type's generic type token. -
interfaceTypeTokens
The interface type's generic type tokens. -
typeVariableTokens
private final List<TypePool.Default.LazyTypeDescription.GenericTypeToken.OfFormalTypeVariable> typeVariableTokensThe type variables generic type tokens.
-
-
Constructor Details
-
Tokenized
protected Tokenized(TypePool.Default.LazyTypeDescription.GenericTypeToken superClassToken, List<TypePool.Default.LazyTypeDescription.GenericTypeToken> interfaceTypeTokens, List<TypePool.Default.LazyTypeDescription.GenericTypeToken.OfFormalTypeVariable> typeVariableTokens) Creates a new tokenized resolution of aTypeDescription's generic signatures.- Parameters:
superClassToken- The super class's generic type token.interfaceTypeTokens- The interface type's generic type tokens.typeVariableTokens- The type variables generic type tokens.
-
-
Method Details
-
resolveSuperClass
public TypeDescription.Generic resolveSuperClass(String superClassDescriptor, TypePool typePool, Map<String, List<TypePool.Default.LazyTypeDescription.AnnotationToken>> annotationTokens, TypeDescription definingType) Resolves the generic super type of the represented type.- Specified by:
resolveSuperClassin interfaceTypePool.Default.LazyTypeDescription.GenericTypeToken.Resolution.ForType- Parameters:
superClassDescriptor- The descriptor of the raw super type.typePool- The type pool to be used for locating non-generic type descriptions.annotationTokens- A mapping of the super type's type annotation tokens.definingType- The type that defines this super type.- Returns:
- A description of this type's generic super type.
-
resolveInterfaceTypes
public TypeList.Generic resolveInterfaceTypes(List<String> interfaceTypeDescriptors, TypePool typePool, Map<Integer, Map<String, List<TypePool.Default.LazyTypeDescription.AnnotationToken>>> annotationTokens, TypeDescription definingType) Resolves the generic interface types of the represented type.- Specified by:
resolveInterfaceTypesin interfaceTypePool.Default.LazyTypeDescription.GenericTypeToken.Resolution.ForType- Parameters:
interfaceTypeDescriptors- The descriptor of the raw interface types.typePool- The type pool to be used for locating non-generic type descriptions.annotationTokens- A mapping of the interface types' type annotation tokens by their indices.definingType- The type that defines these interface type.- Returns:
- A description of this type's generic interface types.
-
resolveTypeVariables
public TypeList.Generic resolveTypeVariables(TypePool typePool, TypeVariableSource typeVariableSource, Map<Integer, Map<String, List<TypePool.Default.LazyTypeDescription.AnnotationToken>>> annotationTokens, Map<Integer, Map<Integer, Map<String, List<TypePool.Default.LazyTypeDescription.AnnotationToken>>>> boundAnnotationTokens) Resolves the type variables of the represented element.- Specified by:
resolveTypeVariablesin interfaceTypePool.Default.LazyTypeDescription.GenericTypeToken.Resolution- Parameters:
typePool- The type pool to be used for locating non-generic type descriptions.typeVariableSource- The type variable source to use for resolving type variables.annotationTokens- A mapping of the type variables' type annotation tokens by their indices.boundAnnotationTokens- A mapping of the type variables' bounds' type annotation tokens by their indices and each type variable's index.- Returns:
- A list describing the resolved generic types.
-