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 classA registrant for the interface types.protected classA registrant for the super type.Nested classes/interfaces inherited from class TypePool.Default.GenericTypeExtractor.ForSignature
TypePool.Default.GenericTypeExtractor.ForSignature.OfField, TypePool.Default.GenericTypeExtractor.ForSignature.OfMethod, TypePool.Default.GenericTypeExtractor.ForSignature.OfRecordComponent, TypePool.Default.GenericTypeExtractor.ForSignature.OfTypeNested classes/interfaces inherited from interface 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 TypePool.Default.GenericTypeExtractor.ForSignature
currentBounds, currentTypeParameter, typeVariableTokensFields 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.SignatureVisitororg.objectweb.asm.signature.SignatureVisitorMethods inherited from class TypePool.Default.GenericTypeExtractor.ForSignature
collectTypeParameter, extract, register, visitClassBound, visitFormalTypeParameter, visitInterfaceBound
-
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:
visitSuperclassin classTypePool.Default.GenericTypeRegistrant.RejectingSignatureVisitor
-
visitInterface
public org.objectweb.asm.signature.SignatureVisitor visitInterface()- Overrides:
visitInterfacein classTypePool.Default.GenericTypeRegistrant.RejectingSignatureVisitor
-
resolve
Completes the current resolution.- Specified by:
resolvein classTypePool.Default.GenericTypeExtractor.ForSignature<TypePool.Default.LazyTypeDescription.GenericTypeToken.Resolution.ForType>- Returns:
- The resolved generic signature.
-