Package net.bytebuddy.pool
Class TypePool.Default.GenericTypeExtractor.ForSignature.OfField
java.lang.Object
net.bytebuddy.pool.TypePool.Default.GenericTypeExtractor.ForSignature.OfField
- All Implemented Interfaces:
TypePool.Default.GenericTypeRegistrant
- Enclosing class:
TypePool.Default.GenericTypeExtractor.ForSignature<T extends TypePool.Default.LazyTypeDescription.GenericTypeToken.Resolution>
protected static class TypePool.Default.GenericTypeExtractor.ForSignature.OfField
extends Object
implements TypePool.Default.GenericTypeRegistrant
A parser for a generic field signature.
-
Nested Class Summary
Nested classes/interfaces inherited from interface net.bytebuddy.pool.TypePool.Default.GenericTypeRegistrant
TypePool.Default.GenericTypeRegistrant.RejectingSignatureVisitor
-
Field Summary
FieldsModifier and TypeFieldDescriptionThe generic field type. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionExtracts a generic field resolution of a field signature.void
Registers a discovered generic type token.resolve()
Completes the current resolution.
-
Field Details
-
fieldTypeToken
The generic field type.
-
-
Constructor Details
-
OfField
protected OfField()
-
-
Method Details
-
extract
public static TypePool.Default.LazyTypeDescription.GenericTypeToken.Resolution.ForField extract(@MaybeNull String genericSignature) Extracts a generic field resolution of a field signature.- Parameters:
genericSignature
- The signature to interpret.- Returns:
- The interpreted field signature.
-
register
Registers a discovered generic type token.- Specified by:
register
in interfaceTypePool.Default.GenericTypeRegistrant
- Parameters:
token
- The token to be registered.
-
resolve
Completes the current resolution.- Returns:
- The resolved generic signature.
-