Package net.bytebuddy.pool
Interface TypePool.Default.LazyTypeDescription.GenericTypeToken.Resolution.ForRecordComponent
- All Known Implementing Classes:
TypePool.Default.LazyTypeDescription.GenericTypeToken.Resolution.ForRecordComponent.Tokenized
,TypePool.Default.LazyTypeDescription.GenericTypeToken.Resolution.Malformed
,TypePool.Default.LazyTypeDescription.GenericTypeToken.Resolution.Raw
- Enclosing interface:
TypePool.Default.LazyTypeDescription.GenericTypeToken.Resolution
public static interface TypePool.Default.LazyTypeDescription.GenericTypeToken.Resolution.ForRecordComponent
A resolution of the generic type of a
RecordComponentDescription
.-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic class
An implementation of a tokenized resolution of the generic type of aRecordComponentDescription
. -
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.
-
Method Details
-
resolveRecordType
TypeDescription.Generic resolveRecordType(String recordTypeDescriptor, TypePool typePool, Map<String, List<TypePool.Default.LazyTypeDescription.AnnotationToken>> annotationTokens, RecordComponentDescription.InDefinedShape definingRecordComponent) Resolves a record component's type.- 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.
-