Package net.bytebuddy.pool
Class TypePool.Default.LazyTypeDescription.GenericTypeToken.Resolution.ForRecordComponent.Tokenized
- java.lang.Object
-
- net.bytebuddy.pool.TypePool.Default.LazyTypeDescription.GenericTypeToken.Resolution.ForRecordComponent.Tokenized
-
- All Implemented Interfaces:
TypePool.Default.LazyTypeDescription.GenericTypeToken.Resolution.ForRecordComponent
- Enclosing interface:
- TypePool.Default.LazyTypeDescription.GenericTypeToken.Resolution.ForRecordComponent
@Enhance public static class TypePool.Default.LazyTypeDescription.GenericTypeToken.Resolution.ForRecordComponent.Tokenized extends Object implements TypePool.Default.LazyTypeDescription.GenericTypeToken.Resolution.ForRecordComponent
An implementation of a tokenized resolution of the generic type of aRecordComponentDescription
.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface net.bytebuddy.pool.TypePool.Default.LazyTypeDescription.GenericTypeToken.Resolution.ForRecordComponent
TypePool.Default.LazyTypeDescription.GenericTypeToken.Resolution.ForRecordComponent.Tokenized
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
Tokenized(TypePool.Default.LazyTypeDescription.GenericTypeToken recordComponentTypeToken)
Creates a new tokenized resolution of aRecordComponentDescription
's type.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TypeDescription.Generic
resolveRecordType(String recordTypeDescriptor, TypePool typePool, Map<String,List<TypePool.Default.LazyTypeDescription.AnnotationToken>> annotationTokens, RecordComponentDescription definingRecordComponent)
Resolves a record component's type.
-
-
-
Constructor Detail
-
Tokenized
protected Tokenized(TypePool.Default.LazyTypeDescription.GenericTypeToken recordComponentTypeToken)
Creates a new tokenized resolution of aRecordComponentDescription
's type.- Parameters:
recordComponentTypeToken
- The token of the represented record component's type.
-
-
Method Detail
-
resolveRecordType
public TypeDescription.Generic resolveRecordType(String recordTypeDescriptor, TypePool typePool, Map<String,List<TypePool.Default.LazyTypeDescription.AnnotationToken>> annotationTokens, RecordComponentDescription definingRecordComponent)
Resolves a record component's type.- Specified by:
resolveRecordType
in interfaceTypePool.Default.LazyTypeDescription.GenericTypeToken.Resolution.ForRecordComponent
- Parameters:
recordTypeDescriptor
- The record component's descriptor.typePool
- The type pool to be used for locating non-generic type descriptions.annotationTokens
- A mapping of the represented types' type annotation tokens.definingRecordComponent
- The defining record component.- Returns:
- A generic type representation of the record component's type.
-
-