Package net.bytebuddy.pool
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 aTypeDescription
.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface net.bytebuddy.pool.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.Raw
-
Nested classes/interfaces inherited from interface net.bytebuddy.pool.TypePool.Default.LazyTypeDescription.GenericTypeToken.Resolution.ForType
TypePool.Default.LazyTypeDescription.GenericTypeToken.Resolution.ForType.Tokenized
-
-
Constructor Summary
Constructors Modifier Constructor Description 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.
-
Method Summary
-
-
-
Constructor Detail
-
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 Detail
-
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:
resolveSuperClass
in 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:
resolveInterfaceTypes
in 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:
resolveTypeVariables
in 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.
-
-