public class TraceSignatureVisitor extends Object implements SignatureVisitor
SignatureVisitor that prints a disassembled view of the signature
it visits.EXTENDS, INSTANCEOF, SUPER| Constructor and Description |
|---|
TraceSignatureVisitor(int access) |
| Modifier and Type | Method and Description |
|---|---|
String |
getDeclaration() |
String |
getExceptions() |
String |
getReturnType() |
SignatureVisitor |
visitArrayType()
Visits a signature corresponding to an array type.
|
void |
visitBaseType(char descriptor)
Visits a signature corresponding to a primitive type.
|
SignatureVisitor |
visitClassBound()
Visits the class bound of the last visited formal type parameter.
|
void |
visitClassType(String name)
Starts the visit of a signature corresponding to a class or interface
type.
|
void |
visitEnd()
Ends the visit of a signature corresponding to a class or interface type.
|
SignatureVisitor |
visitExceptionType()
Visits the type of a method exception.
|
void |
visitFormalTypeParameter(String name)
Visits a formal type parameter.
|
void |
visitInnerClassType(String name)
Visits an inner class.
|
SignatureVisitor |
visitInterface()
Visits the type of an interface implemented by the class.
|
SignatureVisitor |
visitInterfaceBound()
Visits an interface bound of the last visited formal type parameter.
|
SignatureVisitor |
visitParameterType()
Visits the type of a method parameter.
|
SignatureVisitor |
visitReturnType()
Visits the return type of the method.
|
SignatureVisitor |
visitSuperclass()
Visits the type of the super class.
|
void |
visitTypeArgument()
Visits an unbounded type argument of the last visited class or inner
class type.
|
SignatureVisitor |
visitTypeArgument(char tag)
Visits a type argument of the last visited class or inner class type.
|
void |
visitTypeVariable(String name)
Visits a signature corresponding to a type variable.
|
public void visitFormalTypeParameter(String name)
SignatureVisitorvisitFormalTypeParameter in interface SignatureVisitorname - the name of the formal parameter.public SignatureVisitor visitClassBound()
SignatureVisitorvisitClassBound in interface SignatureVisitorpublic SignatureVisitor visitInterfaceBound()
SignatureVisitorvisitInterfaceBound in interface SignatureVisitorpublic SignatureVisitor visitSuperclass()
SignatureVisitorvisitSuperclass in interface SignatureVisitorpublic SignatureVisitor visitInterface()
SignatureVisitorvisitInterface in interface SignatureVisitorpublic SignatureVisitor visitParameterType()
SignatureVisitorvisitParameterType in interface SignatureVisitorpublic SignatureVisitor visitReturnType()
SignatureVisitorvisitReturnType in interface SignatureVisitorpublic SignatureVisitor visitExceptionType()
SignatureVisitorvisitExceptionType in interface SignatureVisitorpublic void visitBaseType(char descriptor)
SignatureVisitorvisitBaseType in interface SignatureVisitordescriptor - the descriptor of the primitive type, or 'V' for
void.public void visitTypeVariable(String name)
SignatureVisitorvisitTypeVariable in interface SignatureVisitorname - the name of the type variable.public SignatureVisitor visitArrayType()
SignatureVisitorvisitArrayType in interface SignatureVisitorpublic void visitClassType(String name)
SignatureVisitorvisitClassType in interface SignatureVisitorname - the internal name of the class or interface.public void visitInnerClassType(String name)
SignatureVisitorvisitInnerClassType in interface SignatureVisitorname - the local name of the inner class in its enclosing class.public void visitTypeArgument()
SignatureVisitorvisitTypeArgument in interface SignatureVisitorpublic SignatureVisitor visitTypeArgument(char tag)
SignatureVisitorvisitTypeArgument in interface SignatureVisitortag - '+', '-' or '='.public void visitEnd()
SignatureVisitorvisitEnd in interface SignatureVisitorpublic String getDeclaration()
public String getReturnType()
public String getExceptions()
Copyright © 2018. All rights reserved.