jodd.proxetta.asm
Class TraceSignatureVisitor
java.lang.Object
jodd.proxetta.asm.TraceSignatureVisitor
- All Implemented Interfaces:
- org.objectweb.asm.signature.SignatureVisitor
- Direct Known Subclasses:
- MethodSignatureVisitor
public class TraceSignatureVisitor
- extends java.lang.Object
- implements org.objectweb.asm.signature.SignatureVisitor
A SignatureVisitor
that prints a disassembled view of the signature
it visits.
Fields inherited from interface org.objectweb.asm.signature.SignatureVisitor |
EXTENDS, INSTANCEOF, SUPER |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
declaration
protected final java.lang.StringBuffer declaration
isInterface
protected boolean isInterface
seenFormalParameter
protected boolean seenFormalParameter
seenInterfaceBound
protected boolean seenInterfaceBound
seenParameter
protected boolean seenParameter
seenInterface
protected boolean seenInterface
returnType
protected java.lang.StringBuffer returnType
exceptions
protected java.lang.StringBuffer exceptions
argumentStack
protected int argumentStack
- Stack used to keep track of class types that have arguments. Each element
of this stack is a boolean encoded in one bit. The top of the stack is
the lowest order bit. Pushing false = *2, pushing true = *2+1, popping =
/2.
arrayStack
protected int arrayStack
- Stack used to keep track of array class types. Each element of this stack
is a boolean encoded in one bit. The top of the stack is the lowest order
bit. Pushing false = *2, pushing true = *2+1, popping = /2.
separator
protected java.lang.String separator
TraceSignatureVisitor
public TraceSignatureVisitor(int access)
TraceSignatureVisitor
protected TraceSignatureVisitor(java.lang.StringBuffer buf)
visitFormalTypeParameter
public void visitFormalTypeParameter(java.lang.String name)
- Specified by:
visitFormalTypeParameter
in interface org.objectweb.asm.signature.SignatureVisitor
visitClassBound
public org.objectweb.asm.signature.SignatureVisitor visitClassBound()
- Specified by:
visitClassBound
in interface org.objectweb.asm.signature.SignatureVisitor
visitInterfaceBound
public org.objectweb.asm.signature.SignatureVisitor visitInterfaceBound()
- Specified by:
visitInterfaceBound
in interface org.objectweb.asm.signature.SignatureVisitor
visitSuperclass
public org.objectweb.asm.signature.SignatureVisitor visitSuperclass()
- Specified by:
visitSuperclass
in interface org.objectweb.asm.signature.SignatureVisitor
visitInterface
public org.objectweb.asm.signature.SignatureVisitor visitInterface()
- Specified by:
visitInterface
in interface org.objectweb.asm.signature.SignatureVisitor
visitParameterType
public org.objectweb.asm.signature.SignatureVisitor visitParameterType()
- Specified by:
visitParameterType
in interface org.objectweb.asm.signature.SignatureVisitor
visitReturnType
public org.objectweb.asm.signature.SignatureVisitor visitReturnType()
- Specified by:
visitReturnType
in interface org.objectweb.asm.signature.SignatureVisitor
visitExceptionType
public org.objectweb.asm.signature.SignatureVisitor visitExceptionType()
- Specified by:
visitExceptionType
in interface org.objectweb.asm.signature.SignatureVisitor
visitBaseType
public void visitBaseType(char descriptor)
- Specified by:
visitBaseType
in interface org.objectweb.asm.signature.SignatureVisitor
visitTypeVariable
public void visitTypeVariable(java.lang.String name)
- Specified by:
visitTypeVariable
in interface org.objectweb.asm.signature.SignatureVisitor
visitArrayType
public org.objectweb.asm.signature.SignatureVisitor visitArrayType()
- Specified by:
visitArrayType
in interface org.objectweb.asm.signature.SignatureVisitor
visitClassType
public void visitClassType(java.lang.String name)
- Specified by:
visitClassType
in interface org.objectweb.asm.signature.SignatureVisitor
visitInnerClassType
public void visitInnerClassType(java.lang.String name)
- Specified by:
visitInnerClassType
in interface org.objectweb.asm.signature.SignatureVisitor
visitTypeArgument
public void visitTypeArgument()
- Specified by:
visitTypeArgument
in interface org.objectweb.asm.signature.SignatureVisitor
visitTypeArgument
public org.objectweb.asm.signature.SignatureVisitor visitTypeArgument(char tag)
- Specified by:
visitTypeArgument
in interface org.objectweb.asm.signature.SignatureVisitor
visitEnd
public void visitEnd()
- Specified by:
visitEnd
in interface org.objectweb.asm.signature.SignatureVisitor
getDeclaration
public java.lang.String getDeclaration()
getReturnType
public java.lang.String getReturnType()
getExceptions
public java.lang.String getExceptions()
Copyright ©2008 Jodd Team