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 aRecordComponentDescription
.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static class
TypePool.Default.LazyTypeDescription.GenericTypeToken.Resolution.ForRecordComponent.Tokenized
An implementation of a tokenized resolution of the generic type of aRecordComponentDescription
.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description 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.
-
-
-
Method Detail
-
resolveRecordType
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.- 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.
-
-