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 Classes Modifier and Type Class Description protected class
TypePool.Default.GenericTypeExtractor.ForSignature.OfType.InterfaceTypeRegistrant
A registrant for the interface types.protected class
TypePool.Default.GenericTypeExtractor.ForSignature.OfType.SuperClassRegistrant
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
Fields Modifier and Type Field Description private java.util.List<TypePool.Default.LazyTypeDescription.GenericTypeToken>
interfaceTypeTokens
The interface type's generic signatures.private TypePool.Default.LazyTypeDescription.GenericTypeToken
superClassToken
The super type's generic signature.-
Fields inherited from class net.bytebuddy.pool.TypePool.Default.GenericTypeExtractor.ForSignature
currentBounds, currentTypeParameter, typeVariableTokens
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
OfType()
Creates a new parser for a type signature.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static TypePool.Default.LazyTypeDescription.GenericTypeToken.Resolution.ForType
extract(java.lang.String genericSignature)
Extracts a generic type resolution of a type signature.TypePool.Default.LazyTypeDescription.GenericTypeToken.Resolution.ForType
resolve()
Completes the current resolution.org.objectweb.asm.signature.SignatureVisitor
visitInterface()
org.objectweb.asm.signature.SignatureVisitor
visitSuperclass()
-
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 Detail
-
interfaceTypeTokens
private final java.util.List<TypePool.Default.LazyTypeDescription.GenericTypeToken> interfaceTypeTokens
The interface type's generic signatures.
-
superClassToken
private TypePool.Default.LazyTypeDescription.GenericTypeToken superClassToken
The super type's generic signature.
-
-
Method Detail
-
extract
public static TypePool.Default.LazyTypeDescription.GenericTypeToken.Resolution.ForType extract(java.lang.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
public TypePool.Default.LazyTypeDescription.GenericTypeToken.Resolution.ForType resolve()
Completes the current resolution.- Specified by:
resolve
in classTypePool.Default.GenericTypeExtractor.ForSignature<TypePool.Default.LazyTypeDescription.GenericTypeToken.Resolution.ForType>
- Returns:
- The resolved generic signature.
-
-