Google

bcel API: Interface Visitor

org.apache.bcel.classfile
Interface Visitor

All Known Implementing Classes:
DescendingVisitor, EmptyVisitor, StringRepresentation

public interface Visitor

Interface to make use of the Visitor pattern programming style. I.e. a class that implements this interface can traverse the contents of a Java class just by calling the `accept' method which all classes have. Implemented by wish of Boris Bokowski.

Version:
$Id: Visitor.java,v 1.1.1.1 2001/10/29 20:00:05 jvanzyl Exp $
Author:
M. Dahm

Method Summary
 void visitCode(Code obj)
           
 void visitCodeException(CodeException obj)
           
 void visitConstantClass(ConstantClass obj)
           
 void visitConstantDouble(ConstantDouble obj)
           
 void visitConstantFieldref(ConstantFieldref obj)
           
 void visitConstantFloat(ConstantFloat obj)
           
 void visitConstantInteger(ConstantInteger obj)
           
 void visitConstantInterfaceMethodref(ConstantInterfaceMethodref obj)
           
 void visitConstantLong(ConstantLong obj)
           
 void visitConstantMethodref(ConstantMethodref obj)
           
 void visitConstantNameAndType(ConstantNameAndType obj)
           
 void visitConstantPool(ConstantPool obj)
           
 void visitConstantString(ConstantString obj)
           
 void visitConstantUtf8(ConstantUtf8 obj)
           
 void visitConstantValue(ConstantValue obj)
           
 void visitDeprecated(Deprecated obj)
           
 void visitExceptionTable(ExceptionTable obj)
           
 void visitField(Field obj)
           
 void visitInnerClass(InnerClass obj)
           
 void visitInnerClasses(InnerClasses obj)
           
 void visitJavaClass(JavaClass obj)
           
 void visitLineNumber(LineNumber obj)
           
 void visitLineNumberTable(LineNumberTable obj)
           
 void visitLocalVariable(LocalVariable obj)
           
 void visitLocalVariableTable(LocalVariableTable obj)
           
 void visitMethod(Method obj)
           
 void visitSourceFile(SourceFile obj)
           
 void visitStackMap(StackMap obj)
           
 void visitStackMapEntry(StackMapEntry obj)
           
 void visitSynthetic(Synthetic obj)
           
 void visitUnknown(Unknown obj)
           
 

Method Detail

visitCode

public void visitCode(Code obj)

visitCodeException

public void visitCodeException(CodeException obj)

visitConstantClass

public void visitConstantClass(ConstantClass obj)

visitConstantDouble

public void visitConstantDouble(ConstantDouble obj)

visitConstantFieldref

public void visitConstantFieldref(ConstantFieldref obj)

visitConstantFloat

public void visitConstantFloat(ConstantFloat obj)

visitConstantInteger

public void visitConstantInteger(ConstantInteger obj)

visitConstantInterfaceMethodref

public void visitConstantInterfaceMethodref(ConstantInterfaceMethodref obj)

visitConstantLong

public void visitConstantLong(ConstantLong obj)

visitConstantMethodref

public void visitConstantMethodref(ConstantMethodref obj)

visitConstantNameAndType

public void visitConstantNameAndType(ConstantNameAndType obj)

visitConstantPool

public void visitConstantPool(ConstantPool obj)

visitConstantString

public void visitConstantString(ConstantString obj)

visitConstantUtf8

public void visitConstantUtf8(ConstantUtf8 obj)

visitConstantValue

public void visitConstantValue(ConstantValue obj)

visitDeprecated

public void visitDeprecated(Deprecated obj)

visitExceptionTable

public void visitExceptionTable(ExceptionTable obj)

visitField

public void visitField(Field obj)

visitInnerClass

public void visitInnerClass(InnerClass obj)

visitInnerClasses

public void visitInnerClasses(InnerClasses obj)

visitJavaClass

public void visitJavaClass(JavaClass obj)

visitLineNumber

public void visitLineNumber(LineNumber obj)

visitLineNumberTable

public void visitLineNumberTable(LineNumberTable obj)

visitLocalVariable

public void visitLocalVariable(LocalVariable obj)

visitLocalVariableTable

public void visitLocalVariableTable(LocalVariableTable obj)

visitMethod

public void visitMethod(Method obj)

visitSourceFile

public void visitSourceFile(SourceFile obj)

visitSynthetic

public void visitSynthetic(Synthetic obj)

visitUnknown

public void visitUnknown(Unknown obj)

visitStackMap

public void visitStackMap(StackMap obj)

visitStackMapEntry

public void visitStackMapEntry(StackMapEntry obj)