Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

org.apache.bcel.classfile
Interface Visitor  view Visitor download Visitor.java

All Known Implementing Classes:
DescendingVisitor, EmptyVisitor

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.

Version:
$Id: Visitor.java 386056 2006-03-15 11:31:56Z tcurdt $

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 visitSignature(Signature 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)

visitSignature

public void visitSignature(Signature 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)