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 java.lang.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
-
-
Field Summary
Fields Modifier and Type Field Description private TypePool.Default.LazyTypeDescription.GenericTypeTokenrecordComponentTypeTokenThe token of the represented record component's type.
-
Constructor Summary
Constructors Modifier Constructor Description protectedTokenized(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.GenericresolveRecordType(java.lang.String recordTypeDescriptor, TypePool typePool, java.util.Map<java.lang.String,java.util.List<TypePool.Default.LazyTypeDescription.AnnotationToken>> annotationTokens, RecordComponentDescription definingRecordComponent)Resolves a record component's type.
-
-
-
Field Detail
-
recordComponentTypeToken
private final TypePool.Default.LazyTypeDescription.GenericTypeToken recordComponentTypeToken
The token of the represented 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(java.lang.String recordTypeDescriptor, TypePool typePool, java.util.Map<java.lang.String,java.util.List<TypePool.Default.LazyTypeDescription.AnnotationToken>> annotationTokens, RecordComponentDescription definingRecordComponent)
Resolves a record component's type.- Specified by:
resolveRecordTypein 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.
-
-