Package net.bytebuddy.pool
Class TypePool.Default.GenericTypeExtractor.ForSignature.OfType
java.lang.Object
org.objectweb.asm.signature.SignatureVisitor
net.bytebuddy.pool.TypePool.Default.GenericTypeRegistrant.RejectingSignatureVisitor
net.bytebuddy.pool.TypePool.Default.GenericTypeExtractor.ForSignature<TypePool.Default.LazyTypeDescription.GenericTypeToken.Resolution.ForType>
net.bytebuddy.pool.TypePool.Default.GenericTypeExtractor.ForSignature.OfType
- 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.OfType
extends TypePool.Default.GenericTypeExtractor.ForSignature<TypePool.Default.LazyTypeDescription.GenericTypeToken.Resolution.ForType>
A parser for a generic type signature.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionprotected class
A registrant for the interface types.protected class
A registrant for the super type.Nested classes/interfaces inherited from class net.bytebuddy.pool.TypePool.Default.GenericTypeExtractor.ForSignature
TypePool.Default.GenericTypeExtractor.ForSignature.OfField, TypePool.Default.GenericTypeExtractor.ForSignature.OfMethod, TypePool.Default.GenericTypeExtractor.ForSignature.OfRecordComponent, TypePool.Default.GenericTypeExtractor.ForSignature.OfType
Nested classes/interfaces inherited from interface net.bytebuddy.pool.TypePool.Default.GenericTypeRegistrant
TypePool.Default.GenericTypeRegistrant.RejectingSignatureVisitor
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final List
<TypePool.Default.LazyTypeDescription.GenericTypeToken> The interface type's generic signatures.The super type's generic signature.Fields inherited from class net.bytebuddy.pool.TypePool.Default.GenericTypeExtractor.ForSignature
currentBounds, currentTypeParameter, typeVariableTokens
Fields inherited from class org.objectweb.asm.signature.SignatureVisitor
api, EXTENDS, INSTANCEOF, SUPER
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionExtracts a generic type resolution of a type signature.resolve()
Completes the current resolution.org.objectweb.asm.signature.SignatureVisitor
org.objectweb.asm.signature.SignatureVisitor
Methods inherited from class net.bytebuddy.pool.TypePool.Default.GenericTypeExtractor.ForSignature
collectTypeParameter, extract, register, visitClassBound, visitFormalTypeParameter, visitInterfaceBound
Methods inherited from class net.bytebuddy.pool.TypePool.Default.GenericTypeRegistrant.RejectingSignatureVisitor
visitArrayType, visitBaseType, visitClassType, visitEnd, visitExceptionType, visitInnerClassType, visitParameterType, visitReturnType, visitTypeArgument, visitTypeArgument, visitTypeVariable
-
Field Details
-
interfaceTypeTokens
The interface type's generic signatures. -
superClassToken
The super type's generic signature.
-
-
Constructor Details
-
OfType
protected OfType()Creates a new parser for a type signature.
-
-
Method Details
-
extract
public static TypePool.Default.LazyTypeDescription.GenericTypeToken.Resolution.ForType extract(@MaybeNull String genericSignature) Extracts a generic type resolution of a type signature.- Parameters:
genericSignature
- The signature to interpret.- Returns:
- The interpreted type signature.
-
visitSuperclass
public org.objectweb.asm.signature.SignatureVisitor visitSuperclass()- Overrides:
visitSuperclass
in classTypePool.Default.GenericTypeRegistrant.RejectingSignatureVisitor
-
visitInterface
public org.objectweb.asm.signature.SignatureVisitor visitInterface()- Overrides:
visitInterface
in classTypePool.Default.GenericTypeRegistrant.RejectingSignatureVisitor
-
resolve
Completes the current resolution.- Specified by:
resolve
in classTypePool.Default.GenericTypeExtractor.ForSignature<TypePool.Default.LazyTypeDescription.GenericTypeToken.Resolution.ForType>
- Returns:
- The resolved generic signature.
-