SignatureVisitor
that is returned by a method of this interface):
visitFormalTypeParameter visitClassBound? visitInterfaceBound* )* (visitSuperclass visitInterface* )
visitFormalTypeParameter visitClassBound? visitInterfaceBound* )* (visitParameterType* visitReturnType visitExceptionType* )
visitBaseType | visitTypeVariable | visitArrayType | ( visitClassType visitTypeArgument* ( visitInnerClassType visitTypeArgument* )* visitEnd ) )
| Modifier and Type | Field and Description |
|---|---|
| protected final int | api
The ASM API version implemented by this visitor. |
| 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. |
| Access | Constructor and Description |
|---|---|
| protected | SignatureVisitor(final int
the ASM API version implemented by this visitor. Must be one of the api)ASMx values in Opcodes.Constructs a new |
| Modifier and Type | Method and Description |
|---|---|
| public SignatureVisitor | Returns: a non null visitor to visit the signature of the array element type.Visits a signature corresponding to an array type. |
| public void | visitBaseType(final char
the descriptor of the primitive type, or 'V' for descriptor)void .Visits a signature corresponding to a primitive type. |
| public SignatureVisitor | Returns: a non null visitor to visit the signature of the class bound.Visits the class bound of the last visited formal type parameter. |
| public void | visitClassType(final String
the internal name of the class or interface (see name)org.).Starts the visit of a signature corresponding to a class or interface type. |
| public void | |
| public SignatureVisitor | Returns: a non null visitor to visit the signature of the exception type.Visits the type of a method exception. |
| public void | visitFormalTypeParameter(final String
the name of the formal parameter. name)Visits a formal type parameter. |
| public void | visitInnerClassType(final String
the local name of the inner class in its enclosing class. name)Visits an inner class. |
| public SignatureVisitor | Returns: a non null visitor to visit the signature of the interface type.Visits the type of an interface implemented by the class. |
| public SignatureVisitor | Returns: a non null visitor to visit the signature of the interface bound.Visits an interface bound of the last visited formal type parameter. |
| public SignatureVisitor | Returns: a non null visitor to visit the signature of the parameter type.Visits the type of a method parameter. |
| public SignatureVisitor | Returns: a non null visitor to visit the signature of the return type.Visits the return type of the method. |
| public SignatureVisitor | Returns: a non null visitor to visit the signature of the super class type.Visits the type of the super class. |
| public void | |
| public SignatureVisitor | Returns: a non null visitor to visit the signature of the type argument.'+', '-' or '='. wildcard)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)Visits a signature corresponding to a type variable. |
| api | back to summary |
|---|---|
| protected final int api The ASM API version implemented by this visitor. The value of this field must be one of the
| |
| EXTENDS | back to summary |
|---|---|
| public static final char EXTENDS Wildcard for an "extends" type argument. | |
| INSTANCEOF | back to summary |
|---|---|
| public static final char INSTANCEOF Wildcard for a normal type argument. | |
| SUPER | back to summary |
|---|---|
| public static final char SUPER Wildcard for a "super" type argument. | |
| SignatureVisitor | back to summary |
|---|---|
| protected SignatureVisitor(final int api) Constructs a new
| |
| visitArrayType | back to summary |
|---|---|
| public SignatureVisitor visitArrayType() Visits a signature corresponding to an array type.
| |
| visitBaseType | back to summary |
|---|---|
| public void visitBaseType(final char descriptor) Visits a signature corresponding to a primitive type.
| |
| visitClassBound | back to summary |
|---|---|
| public SignatureVisitor visitClassBound() Visits the class bound of the last visited formal type parameter.
| |
| visitClassType | back to summary |
|---|---|
| public void visitClassType(final String name) Starts the visit of a signature corresponding to a class or interface type.
| |
| visitEnd | back to summary |
|---|---|
| public void visitEnd() Ends the visit of a signature corresponding to a class or interface type. | |
| visitExceptionType | back to summary |
|---|---|
| public SignatureVisitor visitExceptionType() Visits the type of a method exception.
| |
| visitFormalTypeParameter | back to summary |
|---|---|
| public void visitFormalTypeParameter(final String name) Visits a formal type parameter.
| |
| visitInnerClassType | back to summary |
|---|---|
| public void visitInnerClassType(final String name) Visits an inner class.
| |
| visitInterface | back to summary |
|---|---|
| public SignatureVisitor visitInterface() Visits the type of an interface implemented by the class.
| |
| visitInterfaceBound | back to summary |
|---|---|
| public SignatureVisitor visitInterfaceBound() Visits an interface bound of the last visited formal type parameter.
| |
| visitParameterType | back to summary |
|---|---|
| public SignatureVisitor visitParameterType() Visits the type of a method parameter.
| |
| visitReturnType | back to summary |
|---|---|
| public SignatureVisitor visitReturnType() Visits the return type of the method.
| |
| visitSuperclass | back to summary |
|---|---|
| public SignatureVisitor visitSuperclass() Visits the type of the super class.
| |
| visitTypeArgument | back to summary |
|---|---|
| public void visitTypeArgument() Visits an unbounded type argument of the last visited class or inner class type. | |
| visitTypeArgument | back to summary |
|---|---|
| public SignatureVisitor visitTypeArgument(final char wildcard) Visits a type argument of the last visited class or inner class type.
| |
| visitTypeVariable | back to summary |
|---|---|
| public void visitTypeVariable(final String name) Visits a signature corresponding to a type variable.
| |