Package net.bytebuddy.pool
Interface TypePool.Default.LazyTypeDescription.GenericTypeToken.Resolution.ForField
- All Known Implementing Classes:
TypePool.Default.LazyTypeDescription.GenericTypeToken.Resolution.ForField.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.ForField
A resolution of the generic type of a
FieldDescription
.-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic class
An implementation of a tokenized resolution of the generic type of aFieldDescription
. -
Method Summary
Modifier and TypeMethodDescriptionresolveFieldType
(String fieldTypeDescriptor, TypePool typePool, Map<String, List<TypePool.Default.LazyTypeDescription.AnnotationToken>> annotationTokens, FieldDescription.InDefinedShape definingField) Resolves the field type of the represented field.
-
Method Details
-
resolveFieldType
TypeDescription.Generic resolveFieldType(String fieldTypeDescriptor, TypePool typePool, Map<String, List<TypePool.Default.LazyTypeDescription.AnnotationToken>> annotationTokens, FieldDescription.InDefinedShape definingField) Resolves the field type of the represented field.- Parameters:
fieldTypeDescriptor
- The descriptor of the raw field type.typePool
- The type pool to be used for locating non-generic type descriptions.annotationTokens
- A mapping of the represented types' type annotation tokens.definingField
- The field that defines this type.- Returns:
- A generic type representation of the field's type.
-