Package net.bytebuddy.pool
Class TypePool.Default.LazyTypeDescription.GenericTypeToken.Resolution.ForField.Tokenized
java.lang.Object
net.bytebuddy.pool.TypePool.Default.LazyTypeDescription.GenericTypeToken.Resolution.ForField.Tokenized
- All Implemented Interfaces:
TypePool.Default.LazyTypeDescription.GenericTypeToken.Resolution.ForField
- Enclosing interface:
TypePool.Default.LazyTypeDescription.GenericTypeToken.Resolution.ForField
@Enhance
public static class TypePool.Default.LazyTypeDescription.GenericTypeToken.Resolution.ForField.Tokenized
extends Object
implements TypePool.Default.LazyTypeDescription.GenericTypeToken.Resolution.ForField
An implementation of a tokenized resolution of the generic type of a
FieldDescription
.-
Nested Class Summary
Nested classes/interfaces inherited from interface net.bytebuddy.pool.TypePool.Default.LazyTypeDescription.GenericTypeToken.Resolution.ForField
TypePool.Default.LazyTypeDescription.GenericTypeToken.Resolution.ForField.Tokenized
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final TypePool.Default.LazyTypeDescription.GenericTypeToken
The token of the represented field's type. -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
Tokenized
(TypePool.Default.LazyTypeDescription.GenericTypeToken fieldTypeToken) Creates a new tokenized resolution of aFieldDescription
's type. -
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.
-
Field Details
-
fieldTypeToken
The token of the represented field's type.
-
-
Constructor Details
-
Tokenized
Creates a new tokenized resolution of aFieldDescription
's type.- Parameters:
fieldTypeToken
- The token of the represented field's type.
-
-
Method Details
-
resolveFieldType
public 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.- Specified by:
resolveFieldType
in interfaceTypePool.Default.LazyTypeDescription.GenericTypeToken.Resolution.ForField
- 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.
-