Package net.bytebuddy.pool
Class TypePool.Default.GenericTypeExtractor.ForSignature.OfRecordComponent
- java.lang.Object
-
- net.bytebuddy.pool.TypePool.Default.GenericTypeExtractor.ForSignature.OfRecordComponent
-
- 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.OfRecordComponent extends java.lang.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
Fields Modifier and Type Field Description private TypePool.Default.LazyTypeDescription.GenericTypeToken
recordComponentType
The generic field type.
-
Constructor Summary
Constructors Modifier Constructor Description protected
OfRecordComponent()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static TypePool.Default.LazyTypeDescription.GenericTypeToken.Resolution.ForRecordComponent
extract(java.lang.String genericSignature)
Extracts a generic field resolution of a field signature.void
register(TypePool.Default.LazyTypeDescription.GenericTypeToken token)
Registers a discovered generic type token.protected TypePool.Default.LazyTypeDescription.GenericTypeToken.Resolution.ForRecordComponent
resolve()
Completes the current resolution.
-
-
-
Field Detail
-
recordComponentType
private TypePool.Default.LazyTypeDescription.GenericTypeToken recordComponentType
The generic field type.
-
-
Method Detail
-
extract
public static TypePool.Default.LazyTypeDescription.GenericTypeToken.Resolution.ForRecordComponent extract(java.lang.String genericSignature)
Extracts a generic field resolution of a field signature.- Parameters:
genericSignature
- The signature to interpret.- Returns:
- The interpreted field signature.
-
register
public void register(TypePool.Default.LazyTypeDescription.GenericTypeToken token)
Registers a discovered generic type token.- Specified by:
register
in interfaceTypePool.Default.GenericTypeRegistrant
- Parameters:
token
- The token to be registered.
-
resolve
protected TypePool.Default.LazyTypeDescription.GenericTypeToken.Resolution.ForRecordComponent resolve()
Completes the current resolution.- Returns:
- The resolved generic signature.
-
-