Top Fields Constructors Methods
org.codehaus.groovy.ast.decompiled

pack-priv abstract Class TypeSignatureParser

extends SignatureVisitor
Class Inheritance
Imports
org.codehaus.groovy.ast.ClassHelper, .ClassNode, .GenericsType, org.codehaus.groovy.control.CompilerConfiguration, org.codehaus.groovy.vmplugin.v8.Java8, org.objectweb.asm.Type, org.objectweb.asm.signature.SignatureVisitor, java.util.ArrayList, .List

Field Summary

Modifier and TypeField and Description
private final List<GenericsType>
private String
private final AsmReferenceResolver
Inherited from org.objectweb.asm.signature.SignatureVisitor:
apiEXTENDSINSTANCEOFSUPER

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
private static GenericsType
createWildcard(final ClassNode[] upper, final ClassNode lower)

pack-priv abstract void
private static boolean
public SignatureVisitor
visitArrayType()

Overrides org.objectweb.asm.signature.SignatureVisitor.visitArrayType.

Visits a signature corresponding to an array type.
public void
visitBaseType(final char
the descriptor of the primitive type, or 'V' for void .
descriptor
)

Overrides org.objectweb.asm.signature.SignatureVisitor.visitBaseType.

Visits a signature corresponding to a primitive type.
public void
visitClassType(final String
the internal name of the class or interface (see org.objectweb.asm.Type#getInternalName()).
name
)

Overrides org.objectweb.asm.signature.SignatureVisitor.visitClassType.

Starts the visit of a signature corresponding to a class or interface type.
public void
visitEnd()

Overrides org.objectweb.asm.signature.SignatureVisitor.visitEnd.

Ends the visit of a signature corresponding to a class or interface type.
public void
visitInnerClassType(final String
the local name of the inner class in its enclosing class.
name
)

Overrides org.objectweb.asm.signature.SignatureVisitor.visitInnerClassType.

Visits an inner class.
public void
visitTypeArgument()

Overrides org.objectweb.asm.signature.SignatureVisitor.visitTypeArgument.

Visits an unbounded type argument of the last visited class or inner class type.
public SignatureVisitor
visitTypeArgument(final char
'+', '-' or '='.
wildcard
)

Overrides org.objectweb.asm.signature.SignatureVisitor.visitTypeArgument.

Visits a type argument of the last visited class or inner class type.
public void
visitTypeVariable(final String
the name of the type variable.
name
)

Overrides org.objectweb.asm.signature.SignatureVisitor.visitTypeVariable.

Visits a signature corresponding to a type variable.
Inherited from org.objectweb.asm.signature.SignatureVisitor:
visitClassBoundvisitExceptionTypevisitFormalTypeParametervisitInterfacevisitInterfaceBoundvisitParameterTypevisitReturnTypevisitSuperclass

Field Detail

argumentsback to summary
private final List<GenericsType> arguments
baseNameback to summary
private String baseName
resolverback to summary
private final AsmReferenceResolver resolver

Constructor Detail

TypeSignatureParserback to summary
public TypeSignatureParser(final AsmReferenceResolver resolver)

Method Detail

createWildcardback to summary
private static GenericsType createWildcard(final ClassNode[] upper, final ClassNode lower)
finishedback to summary
pack-priv abstract void finished(ClassNode result)
isNotParameterizedback to summary
private static boolean isNotParameterized(final ClassNode cn)
visitArrayTypeback to summary
public SignatureVisitor visitArrayType()

Overrides org.objectweb.asm.signature.SignatureVisitor.visitArrayType.

Doc from org.objectweb.asm.signature.SignatureVisitor.visitArrayType.

Visits a signature corresponding to an array type.

Returns:SignatureVisitor

a non null visitor to visit the signature of the array element type.

Annotations
@Override
visitBaseTypeback to summary
public void visitBaseType(final char descriptor)

Overrides org.objectweb.asm.signature.SignatureVisitor.visitBaseType.

Doc from org.objectweb.asm.signature.SignatureVisitor.visitBaseType.

Visits a signature corresponding to a primitive type.

Parameters
descriptor:char

the descriptor of the primitive type, or 'V' for void .

Annotations
@Override
visitClassTypeback to summary
public void visitClassType(final String name)

Overrides org.objectweb.asm.signature.SignatureVisitor.visitClassType.

Doc from org.objectweb.asm.signature.SignatureVisitor.visitClassType.

Starts the visit of a signature corresponding to a class or interface type.

Parameters
name:String

the internal name of the class or interface (see org.objectweb.asm.Type#getInternalName()).

Annotations
@Override
visitEndback to summary
public void visitEnd()

Overrides org.objectweb.asm.signature.SignatureVisitor.visitEnd.

Doc from org.objectweb.asm.signature.SignatureVisitor.visitEnd.

Ends the visit of a signature corresponding to a class or interface type.

Annotations
@Override
visitInnerClassTypeback to summary
public void visitInnerClassType(final String name)

Overrides org.objectweb.asm.signature.SignatureVisitor.visitInnerClassType.

Doc from org.objectweb.asm.signature.SignatureVisitor.visitInnerClassType.

Visits an inner class.

Parameters
name:String

the local name of the inner class in its enclosing class.

Annotations
@Override
visitTypeArgumentback to summary
public void visitTypeArgument()

Overrides org.objectweb.asm.signature.SignatureVisitor.visitTypeArgument.

Doc from org.objectweb.asm.signature.SignatureVisitor.visitTypeArgument.

Visits an unbounded type argument of the last visited class or inner class type.

Annotations
@Override
visitTypeArgumentback to summary
public SignatureVisitor visitTypeArgument(final char wildcard)

Overrides org.objectweb.asm.signature.SignatureVisitor.visitTypeArgument.

Doc from org.objectweb.asm.signature.SignatureVisitor.visitTypeArgument.

Visits a type argument of the last visited class or inner class type.

Parameters
wildcard:char

'+', '-' or '='.

Returns:SignatureVisitor

a non null visitor to visit the signature of the type argument.

Annotations
@Override
visitTypeVariableback to summary
public void visitTypeVariable(final String name)

Overrides org.objectweb.asm.signature.SignatureVisitor.visitTypeVariable.

Doc from org.objectweb.asm.signature.SignatureVisitor.visitTypeVariable.

Visits a signature corresponding to a type variable.

Parameters
name:String

the name of the type variable.

Annotations
@Override