protected static class TypePool.Default.GenericTypeExtractor.ForSignature.OfType extends TypePool.Default.GenericTypeExtractor.ForSignature<TypePool.Default.LazyTypeDescription.GenericTypeToken.Resolution.ForType>
Modifier and Type | Class and 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.
|
TypePool.Default.GenericTypeExtractor.ForSignature.OfField, TypePool.Default.GenericTypeExtractor.ForSignature.OfMethod, TypePool.Default.GenericTypeExtractor.ForSignature.OfType
TypePool.Default.GenericTypeRegistrant.RejectingSignatureVisitor
currentBounds, currentTypeParameter, typeVariableTokens
api, EXTENDS, INSTANCEOF, SUPER
Modifier | Constructor and Description |
---|---|
protected |
OfType()
Creates a new parser for a type signature.
|
Modifier and Type | Method and Description |
---|---|
static TypePool.Default.LazyTypeDescription.GenericTypeToken.Resolution.ForType |
extract(String genericSignature)
Extracts a generic type resolution of a type signature.
|
TypePool.Default.LazyTypeDescription.GenericTypeToken.Resolution.ForType |
resolve()
Completes the current resolution.
|
String |
toString() |
SignatureVisitor |
visitInterface() |
SignatureVisitor |
visitSuperclass() |
collectTypeParameter, extract, register, visitClassBound, visitFormalTypeParameter, visitInterfaceBound
visitArrayType, visitBaseType, visitClassType, visitEnd, visitExceptionType, visitInnerClassType, visitParameterType, visitReturnType, visitTypeArgument, visitTypeArgument, visitTypeVariable
public static TypePool.Default.LazyTypeDescription.GenericTypeToken.Resolution.ForType extract(String genericSignature)
genericSignature
- The signature to interpret.public SignatureVisitor visitSuperclass()
visitSuperclass
in class TypePool.Default.GenericTypeRegistrant.RejectingSignatureVisitor
public SignatureVisitor visitInterface()
visitInterface
in class TypePool.Default.GenericTypeRegistrant.RejectingSignatureVisitor
public TypePool.Default.LazyTypeDescription.GenericTypeToken.Resolution.ForType resolve()
TypePool.Default.GenericTypeExtractor.ForSignature
resolve
in class TypePool.Default.GenericTypeExtractor.ForSignature<TypePool.Default.LazyTypeDescription.GenericTypeToken.Resolution.ForType>
public String toString()
toString
in class TypePool.Default.GenericTypeRegistrant.RejectingSignatureVisitor
Copyright © 2014–2016. All rights reserved.