public abstract class SignatureVisitor
A visitor to visit a generic signature. The methods of this interface must be called in one of
the three following orders (the last one is the only valid order for a SignatureVisitor
that is returned by a method of this interface):
- ClassSignature = (
visitFormalTypeParameter
visitClassBound
?visitInterfaceBound
* )* (visitSuperclass
visitInterface
* ) - MethodSignature = (
visitFormalTypeParameter
visitClassBound
?visitInterfaceBound
* )* (visitParameterType
*visitReturnType
visitExceptionType
* ) - TypeSignature =
visitBaseType
|visitTypeVariable
|visitArrayType
| (visitClassType
visitTypeArgument
* (visitInnerClassType
visitTypeArgument
* )*visitEnd
) )
public static final char | EXTENDS = '+' Wildcard for an "extends" type argument. |
public static final char | INSTANCEOF = '=' Wildcard for a normal type argument. |
public static final char | SUPER = '-' Wildcard for a "super" type argument. |
protected final int | The ASM API version implemented by this visitor. |
public | SignatureVisitor( Constructs a new SignatureVisitor. |
public SignatureVisitor | Visits a signature corresponding to an array type. |
public void | visitBaseType( Visits a signature corresponding to a primitive type. |
public SignatureVisitor | Visits the class bound of the last visited formal type parameter. |
public void | visitClassType( Starts the visit of a signature corresponding to a class or interface type. |
public void | visitEnd() Ends the visit of a signature corresponding to a class or interface type. |
public SignatureVisitor | Visits the type of a method exception. |
public void | Visits a formal type parameter. |
public void | visitInnerClassType( Visits an inner class. |
public SignatureVisitor | Visits the type of an interface implemented by the class. |
public SignatureVisitor | Visits an interface bound of the last visited formal type parameter. |
public SignatureVisitor | Visits the type of a method parameter. |
public SignatureVisitor | Visits the return type of the method. |
public SignatureVisitor | Visits the type of the super class. |
public void | Visits an unbounded type argument of the last visited class or inner class type. |
public SignatureVisitor | visitTypeArgument( Visits a type argument of the last visited class or inner class type. |
public void | visitTypeVariable( Visits a signature corresponding to a type variable. |
Wildcard for an "extends" type argument.
Wildcard for a normal type argument.
Wildcard for a "super" type argument.
Visits a signature corresponding to an array type.
a non null visitor to visit the signature of the array element type.
Visits a signature corresponding to a primitive type.
descriptorthe descriptor of the primitive type, or 'V' for
void
.Visits the class bound of the last visited formal type parameter.
a non null visitor to visit the signature of the class bound.
Starts the visit of a signature corresponding to a class or interface type.
namethe internal name of the class or interface.
Ends the visit of a signature corresponding to a class or interface type.
Visits the type of a method exception.
a non null visitor to visit the signature of the exception type.
Visits a formal type parameter.
namethe name of the formal parameter.
Visits an inner class.
namethe local name of the inner class in its enclosing class.
Visits the type of an interface implemented by the class.
a non null visitor to visit the signature of the interface type.
Visits an interface bound of the last visited formal type parameter.
a non null visitor to visit the signature of the interface bound.
Visits the type of a method parameter.
a non null visitor to visit the signature of the parameter type.
Visits the return type of the method.
a non null visitor to visit the signature of the return type.
Visits the type of the super class.
a non null visitor to visit the signature of the super class type.
Visits an unbounded type argument of the last visited class or inner class type.
Visits a type argument of the last visited class or inner class type.
wildcard'+', '-' or '='.
a non null visitor to visit the signature of the type argument.
Visits a signature corresponding to a type variable.
namethe name of the type variable.