Class JasminVisitor

java.lang.Object
  |
  +--de.fub.bytecode.classfile.EmptyVisitor
        |
        +--JasminVisitor
All Implemented Interfaces:
Visitor

public class JasminVisitor
extends EmptyVisitor

Disassemble Java class object into the JASMIN format.

Version:
$Id: JasminVisitor.java,v 1.12 2001/10/04 13:22:54 dahm Exp $
Author:
M. Dahm

Constructor Summary
JasminVisitor(JavaClass clazz, java.io.OutputStream out)
           
 
Method Summary
 void disassemble()
          Start traversal using DefaultVisitor pattern.
static void main(java.lang.String[] argv)
           
 void visitCode(Code code)
           
 void visitConstantValue(ConstantValue cv)
           
 void visitDeprecated(Deprecated attribute)
           
 void visitExceptionTable(ExceptionTable e)
           
 void visitField(Field field)
           
 void visitJavaClass(JavaClass clazz)
           
 void visitMethod(Method method)
           
 void visitSynthetic(Synthetic attribute)
           
 
Methods inherited from class de.fub.bytecode.classfile.EmptyVisitor
visitCodeException, visitConstantClass, visitConstantDouble, visitConstantFieldref, visitConstantFloat, visitConstantInteger, visitConstantInterfaceMethodref, visitConstantLong, visitConstantMethodref, visitConstantNameAndType, visitConstantPool, visitConstantString, visitConstantUtf8, visitInnerClass, visitInnerClasses, visitLineNumber, visitLineNumberTable, visitLocalVariable, visitLocalVariableTable, visitSourceFile, visitStackMap, visitStackMapEntry, visitUnknown
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JasminVisitor

public JasminVisitor(JavaClass clazz,
                     java.io.OutputStream out)
Method Detail

disassemble

public void disassemble()
Start traversal using DefaultVisitor pattern.

visitJavaClass

public void visitJavaClass(JavaClass clazz)
Overrides:
visitJavaClass in class EmptyVisitor

visitField

public void visitField(Field field)
Overrides:
visitField in class EmptyVisitor

visitConstantValue

public void visitConstantValue(ConstantValue cv)
Overrides:
visitConstantValue in class EmptyVisitor

visitDeprecated

public void visitDeprecated(Deprecated attribute)
Overrides:
visitDeprecated in class EmptyVisitor

visitSynthetic

public void visitSynthetic(Synthetic attribute)
Overrides:
visitSynthetic in class EmptyVisitor

visitMethod

public void visitMethod(Method method)
Overrides:
visitMethod in class EmptyVisitor

visitExceptionTable

public void visitExceptionTable(ExceptionTable e)
Overrides:
visitExceptionTable in class EmptyVisitor

visitCode

public void visitCode(Code code)
Overrides:
visitCode in class EmptyVisitor

main

public static void main(java.lang.String[] argv)