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 a
RecordComponentDescription
.-
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
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final TypePool.Default.LazyTypeDescription.GenericTypeToken
The token of the represented record component's type. -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
Tokenized
(TypePool.Default.LazyTypeDescription.GenericTypeToken recordComponentTypeToken) Creates a new tokenized resolution of aRecordComponentDescription
's type. -
Method Summary
Modifier and TypeMethodDescriptionresolveRecordType
(String recordTypeDescriptor, TypePool typePool, Map<String, List<TypePool.Default.LazyTypeDescription.AnnotationToken>> annotationTokens, RecordComponentDescription.InDefinedShape definingRecordComponent) Resolves a record component's type.
-
Field Details
-
recordComponentTypeToken
The token of the represented record component's type.
-
-
Constructor Details
-
Tokenized
Creates a new tokenized resolution of aRecordComponentDescription
's type.- Parameters:
recordComponentTypeToken
- The token of the represented record component's type.
-
-
Method Details
-
resolveRecordType
public TypeDescription.Generic resolveRecordType(String recordTypeDescriptor, TypePool typePool, Map<String, List<TypePool.Default.LazyTypeDescription.AnnotationToken>> annotationTokens, RecordComponentDescription.InDefinedShape 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.
-