Google

bcel API: Interface Visitor

org.apache.bcel.generic
Interface Visitor

All Known Implementing Classes:
EmptyVisitor, ExecutionVisitor, InstConstraintVisitor

public interface Visitor

Interface implementing the Visitor pattern programming style. I.e., a class that implements this interface can handle all types of instructions with the properly typed methods just by calling the accept() method.

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

Method Summary
 void visitAALOAD(AALOAD obj)
           
 void visitAASTORE(AASTORE obj)
           
 void visitACONST_NULL(ACONST_NULL obj)
           
 void visitAllocationInstruction(AllocationInstruction obj)
           
 void visitALOAD(ALOAD obj)
           
 void visitANEWARRAY(ANEWARRAY obj)
           
 void visitARETURN(ARETURN obj)
           
 void visitArithmeticInstruction(ArithmeticInstruction obj)
           
 void visitArrayInstruction(ArrayInstruction obj)
           
 void visitARRAYLENGTH(ARRAYLENGTH obj)
           
 void visitASTORE(ASTORE obj)
           
 void visitATHROW(ATHROW obj)
           
 void visitBALOAD(BALOAD obj)
           
 void visitBASTORE(BASTORE obj)
           
 void visitBIPUSH(BIPUSH obj)
           
 void visitBranchInstruction(BranchInstruction obj)
           
 void visitBREAKPOINT(BREAKPOINT obj)
           
 void visitCALOAD(CALOAD obj)
           
 void visitCASTORE(CASTORE obj)
           
 void visitCHECKCAST(CHECKCAST obj)
           
 void visitConstantPushInstruction(ConstantPushInstruction obj)
           
 void visitConversionInstruction(ConversionInstruction obj)
           
 void visitCPInstruction(CPInstruction obj)
           
 void visitD2F(D2F obj)
           
 void visitD2I(D2I obj)
           
 void visitD2L(D2L obj)
           
 void visitDADD(DADD obj)
           
 void visitDALOAD(DALOAD obj)
           
 void visitDASTORE(DASTORE obj)
           
 void visitDCMPG(DCMPG obj)
           
 void visitDCMPL(DCMPL obj)
           
 void visitDCONST(DCONST obj)
           
 void visitDDIV(DDIV obj)
           
 void visitDLOAD(DLOAD obj)
           
 void visitDMUL(DMUL obj)
           
 void visitDNEG(DNEG obj)
           
 void visitDREM(DREM obj)
           
 void visitDRETURN(DRETURN obj)
           
 void visitDSTORE(DSTORE obj)
           
 void visitDSUB(DSUB obj)
           
 void visitDUP_X1(DUP_X1 obj)
           
 void visitDUP_X2(DUP_X2 obj)
           
 void visitDUP(DUP obj)
           
 void visitDUP2_X1(DUP2_X1 obj)
           
 void visitDUP2_X2(DUP2_X2 obj)
           
 void visitDUP2(DUP2 obj)
           
 void visitExceptionThrower(ExceptionThrower obj)
           
 void visitF2D(F2D obj)
           
 void visitF2I(F2I obj)
           
 void visitF2L(F2L obj)
           
 void visitFADD(FADD obj)
           
 void visitFALOAD(FALOAD obj)
           
 void visitFASTORE(FASTORE obj)
           
 void visitFCMPG(FCMPG obj)
           
 void visitFCMPL(FCMPL obj)
           
 void visitFCONST(FCONST obj)
           
 void visitFDIV(FDIV obj)
           
 void visitFieldInstruction(FieldInstruction obj)
           
 void visitFieldOrMethod(FieldOrMethod obj)
           
 void visitFLOAD(FLOAD obj)
           
 void visitFMUL(FMUL obj)
           
 void visitFNEG(FNEG obj)
           
 void visitFREM(FREM obj)
           
 void visitFRETURN(FRETURN obj)
           
 void visitFSTORE(FSTORE obj)
           
 void visitFSUB(FSUB obj)
           
 void visitGETFIELD(GETFIELD obj)
           
 void visitGETSTATIC(GETSTATIC obj)
           
 void visitGOTO_W(GOTO_W obj)
           
 void visitGOTO(GOTO obj)
           
 void visitGotoInstruction(GotoInstruction obj)
           
 void visitI2B(I2B obj)
           
 void visitI2C(I2C obj)
           
 void visitI2D(I2D obj)
           
 void visitI2F(I2F obj)
           
 void visitI2L(I2L obj)
           
 void visitI2S(I2S obj)
           
 void visitIADD(IADD obj)
           
 void visitIALOAD(IALOAD obj)
           
 void visitIAND(IAND obj)
           
 void visitIASTORE(IASTORE obj)
           
 void visitICONST(ICONST obj)
           
 void visitIDIV(IDIV obj)
           
 void visitIF_ACMPEQ(IF_ACMPEQ obj)
           
 void visitIF_ACMPNE(IF_ACMPNE obj)
           
 void visitIF_ICMPEQ(IF_ICMPEQ obj)
           
 void visitIF_ICMPGE(IF_ICMPGE obj)
           
 void visitIF_ICMPGT(IF_ICMPGT obj)
           
 void visitIF_ICMPLE(IF_ICMPLE obj)
           
 void visitIF_ICMPLT(IF_ICMPLT obj)
           
 void visitIF_ICMPNE(IF_ICMPNE obj)
           
 void visitIFEQ(IFEQ obj)
           
 void visitIFGE(IFGE obj)
           
 void visitIFGT(IFGT obj)
           
 void visitIfInstruction(IfInstruction obj)
           
 void visitIFLE(IFLE obj)
           
 void visitIFLT(IFLT obj)
           
 void visitIFNE(IFNE obj)
           
 void visitIFNONNULL(IFNONNULL obj)
           
 void visitIFNULL(IFNULL obj)
           
 void visitIINC(IINC obj)
           
 void visitILOAD(ILOAD obj)
           
 void visitIMPDEP1(IMPDEP1 obj)
           
 void visitIMPDEP2(IMPDEP2 obj)
           
 void visitIMUL(IMUL obj)
           
 void visitINEG(INEG obj)
           
 void visitINSTANCEOF(INSTANCEOF obj)
           
 void visitInvokeInstruction(InvokeInstruction obj)
           
 void visitINVOKEINTERFACE(INVOKEINTERFACE obj)
           
 void visitINVOKESPECIAL(INVOKESPECIAL obj)
           
 void visitINVOKESTATIC(INVOKESTATIC obj)
           
 void visitINVOKEVIRTUAL(INVOKEVIRTUAL obj)
           
 void visitIOR(IOR obj)
           
 void visitIREM(IREM obj)
           
 void visitIRETURN(IRETURN obj)
           
 void visitISHL(ISHL obj)
           
 void visitISHR(ISHR obj)
           
 void visitISTORE(ISTORE obj)
           
 void visitISUB(ISUB obj)
           
 void visitIUSHR(IUSHR obj)
           
 void visitIXOR(IXOR obj)
           
 void visitJSR_W(JSR_W obj)
           
 void visitJSR(JSR obj)
           
 void visitJsrInstruction(JsrInstruction obj)
           
 void visitL2D(L2D obj)
           
 void visitL2F(L2F obj)
           
 void visitL2I(L2I obj)
           
 void visitLADD(LADD obj)
           
 void visitLALOAD(LALOAD obj)
           
 void visitLAND(LAND obj)
           
 void visitLASTORE(LASTORE obj)
           
 void visitLCMP(LCMP obj)
           
 void visitLCONST(LCONST obj)
           
 void visitLDC(LDC obj)
           
 void visitLDC2_W(LDC2_W obj)
           
 void visitLDIV(LDIV obj)
           
 void visitLLOAD(LLOAD obj)
           
 void visitLMUL(LMUL obj)
           
 void visitLNEG(LNEG obj)
           
 void visitLoadClass(LoadClass obj)
           
 void visitLoadInstruction(LoadInstruction obj)
           
 void visitLocalVariableInstruction(LocalVariableInstruction obj)
           
 void visitLOOKUPSWITCH(LOOKUPSWITCH obj)
           
 void visitLOR(LOR obj)
           
 void visitLREM(LREM obj)
           
 void visitLRETURN(LRETURN obj)
           
 void visitLSHL(LSHL obj)
           
 void visitLSHR(LSHR obj)
           
 void visitLSTORE(LSTORE obj)
           
 void visitLSUB(LSUB obj)
           
 void visitLUSHR(LUSHR obj)
           
 void visitLXOR(LXOR obj)
           
 void visitMONITORENTER(MONITORENTER obj)
           
 void visitMONITOREXIT(MONITOREXIT obj)
           
 void visitMULTIANEWARRAY(MULTIANEWARRAY obj)
           
 void visitNEW(NEW obj)
           
 void visitNEWARRAY(NEWARRAY obj)
           
 void visitNOP(NOP obj)
           
 void visitPOP(POP obj)
           
 void visitPOP2(POP2 obj)
           
 void visitPopInstruction(PopInstruction obj)
           
 void visitPushInstruction(PushInstruction obj)
           
 void visitPUTFIELD(PUTFIELD obj)
           
 void visitPUTSTATIC(PUTSTATIC obj)
           
 void visitRET(RET obj)
           
 void visitRETURN(RETURN obj)
           
 void visitReturnInstruction(ReturnInstruction obj)
           
 void visitSALOAD(SALOAD obj)
           
 void visitSASTORE(SASTORE obj)
           
 void visitSelect(Select obj)
           
 void visitSIPUSH(SIPUSH obj)
           
 void visitStackConsumer(StackConsumer obj)
           
 void visitStackInstruction(StackInstruction obj)
           
 void visitStackProducer(StackProducer obj)
           
 void visitStoreInstruction(StoreInstruction obj)
           
 void visitSWAP(SWAP obj)
           
 void visitTABLESWITCH(TABLESWITCH obj)
           
 void visitTypedInstruction(TypedInstruction obj)
           
 void visitUnconditionalBranch(UnconditionalBranch obj)
           
 void visitVariableLengthInstruction(VariableLengthInstruction obj)
           
 

Method Detail

visitStackInstruction

public void visitStackInstruction(StackInstruction obj)

visitLocalVariableInstruction

public void visitLocalVariableInstruction(LocalVariableInstruction obj)

visitBranchInstruction

public void visitBranchInstruction(BranchInstruction obj)

visitLoadClass

public void visitLoadClass(LoadClass obj)

visitFieldInstruction

public void visitFieldInstruction(FieldInstruction obj)

visitIfInstruction

public void visitIfInstruction(IfInstruction obj)

visitConversionInstruction

public void visitConversionInstruction(ConversionInstruction obj)

visitPopInstruction

public void visitPopInstruction(PopInstruction obj)

visitStoreInstruction

public void visitStoreInstruction(StoreInstruction obj)

visitTypedInstruction

public void visitTypedInstruction(TypedInstruction obj)

visitSelect

public void visitSelect(Select obj)

visitJsrInstruction

public void visitJsrInstruction(JsrInstruction obj)

visitGotoInstruction

public void visitGotoInstruction(GotoInstruction obj)

visitUnconditionalBranch

public void visitUnconditionalBranch(UnconditionalBranch obj)

visitPushInstruction

public void visitPushInstruction(PushInstruction obj)

visitArithmeticInstruction

public void visitArithmeticInstruction(ArithmeticInstruction obj)

visitCPInstruction

public void visitCPInstruction(CPInstruction obj)

visitInvokeInstruction

public void visitInvokeInstruction(InvokeInstruction obj)

visitArrayInstruction

public void visitArrayInstruction(ArrayInstruction obj)

visitAllocationInstruction

public void visitAllocationInstruction(AllocationInstruction obj)

visitReturnInstruction

public void visitReturnInstruction(ReturnInstruction obj)

visitFieldOrMethod

public void visitFieldOrMethod(FieldOrMethod obj)

visitConstantPushInstruction

public void visitConstantPushInstruction(ConstantPushInstruction obj)

visitExceptionThrower

public void visitExceptionThrower(ExceptionThrower obj)

visitLoadInstruction

public void visitLoadInstruction(LoadInstruction obj)

visitVariableLengthInstruction

public void visitVariableLengthInstruction(VariableLengthInstruction obj)

visitStackProducer

public void visitStackProducer(StackProducer obj)

visitStackConsumer

public void visitStackConsumer(StackConsumer obj)

visitACONST_NULL

public void visitACONST_NULL(ACONST_NULL obj)

visitGETSTATIC

public void visitGETSTATIC(GETSTATIC obj)

visitIF_ICMPLT

public void visitIF_ICMPLT(IF_ICMPLT obj)

visitMONITOREXIT

public void visitMONITOREXIT(MONITOREXIT obj)

visitIFLT

public void visitIFLT(IFLT obj)

visitLSTORE

public void visitLSTORE(LSTORE obj)

visitPOP2

public void visitPOP2(POP2 obj)

visitBASTORE

public void visitBASTORE(BASTORE obj)

visitISTORE

public void visitISTORE(ISTORE obj)

visitCHECKCAST

public void visitCHECKCAST(CHECKCAST obj)

visitFCMPG

public void visitFCMPG(FCMPG obj)

visitI2F

public void visitI2F(I2F obj)

visitATHROW

public void visitATHROW(ATHROW obj)

visitDCMPL

public void visitDCMPL(DCMPL obj)

visitARRAYLENGTH

public void visitARRAYLENGTH(ARRAYLENGTH obj)

visitDUP

public void visitDUP(DUP obj)

visitINVOKESTATIC

public void visitINVOKESTATIC(INVOKESTATIC obj)

visitLCONST

public void visitLCONST(LCONST obj)

visitDREM

public void visitDREM(DREM obj)

visitIFGE

public void visitIFGE(IFGE obj)

visitCALOAD

public void visitCALOAD(CALOAD obj)

visitLASTORE

public void visitLASTORE(LASTORE obj)

visitI2D

public void visitI2D(I2D obj)

visitDADD

public void visitDADD(DADD obj)

visitINVOKESPECIAL

public void visitINVOKESPECIAL(INVOKESPECIAL obj)

visitIAND

public void visitIAND(IAND obj)

visitPUTFIELD

public void visitPUTFIELD(PUTFIELD obj)

visitILOAD

public void visitILOAD(ILOAD obj)

visitDLOAD

public void visitDLOAD(DLOAD obj)

visitDCONST

public void visitDCONST(DCONST obj)

visitNEW

public void visitNEW(NEW obj)

visitIFNULL

public void visitIFNULL(IFNULL obj)

visitLSUB

public void visitLSUB(LSUB obj)

visitL2I

public void visitL2I(L2I obj)

visitISHR

public void visitISHR(ISHR obj)

visitTABLESWITCH

public void visitTABLESWITCH(TABLESWITCH obj)

visitIINC

public void visitIINC(IINC obj)

visitDRETURN

public void visitDRETURN(DRETURN obj)

visitFSTORE

public void visitFSTORE(FSTORE obj)

visitDASTORE

public void visitDASTORE(DASTORE obj)

visitIALOAD

public void visitIALOAD(IALOAD obj)

visitDDIV

public void visitDDIV(DDIV obj)

visitIF_ICMPGE

public void visitIF_ICMPGE(IF_ICMPGE obj)

visitLAND

public void visitLAND(LAND obj)

visitIDIV

public void visitIDIV(IDIV obj)

visitLOR

public void visitLOR(LOR obj)

visitCASTORE

public void visitCASTORE(CASTORE obj)

visitFREM

public void visitFREM(FREM obj)

visitLDC

public void visitLDC(LDC obj)

visitBIPUSH

public void visitBIPUSH(BIPUSH obj)

visitDSTORE

public void visitDSTORE(DSTORE obj)

visitF2L

public void visitF2L(F2L obj)

visitFMUL

public void visitFMUL(FMUL obj)

visitLLOAD

public void visitLLOAD(LLOAD obj)

visitJSR

public void visitJSR(JSR obj)

visitFSUB

public void visitFSUB(FSUB obj)

visitSASTORE

public void visitSASTORE(SASTORE obj)

visitALOAD

public void visitALOAD(ALOAD obj)

visitDUP2_X2

public void visitDUP2_X2(DUP2_X2 obj)

visitRETURN

public void visitRETURN(RETURN obj)

visitDALOAD

public void visitDALOAD(DALOAD obj)

visitSIPUSH

public void visitSIPUSH(SIPUSH obj)

visitDSUB

public void visitDSUB(DSUB obj)

visitL2F

public void visitL2F(L2F obj)

visitIF_ICMPGT

public void visitIF_ICMPGT(IF_ICMPGT obj)

visitF2D

public void visitF2D(F2D obj)

visitI2L

public void visitI2L(I2L obj)

visitIF_ACMPNE

public void visitIF_ACMPNE(IF_ACMPNE obj)

visitPOP

public void visitPOP(POP obj)

visitI2S

public void visitI2S(I2S obj)

visitIFEQ

public void visitIFEQ(IFEQ obj)

visitSWAP

public void visitSWAP(SWAP obj)

visitIOR

public void visitIOR(IOR obj)

visitIREM

public void visitIREM(IREM obj)

visitIASTORE

public void visitIASTORE(IASTORE obj)

visitNEWARRAY

public void visitNEWARRAY(NEWARRAY obj)

visitINVOKEINTERFACE

public void visitINVOKEINTERFACE(INVOKEINTERFACE obj)

visitINEG

public void visitINEG(INEG obj)

visitLCMP

public void visitLCMP(LCMP obj)

visitJSR_W

public void visitJSR_W(JSR_W obj)

visitMULTIANEWARRAY

public void visitMULTIANEWARRAY(MULTIANEWARRAY obj)

visitDUP_X2

public void visitDUP_X2(DUP_X2 obj)

visitSALOAD

public void visitSALOAD(SALOAD obj)

visitIFNONNULL

public void visitIFNONNULL(IFNONNULL obj)

visitDMUL

public void visitDMUL(DMUL obj)

visitIFNE

public void visitIFNE(IFNE obj)

visitIF_ICMPLE

public void visitIF_ICMPLE(IF_ICMPLE obj)

visitLDC2_W

public void visitLDC2_W(LDC2_W obj)

visitGETFIELD

public void visitGETFIELD(GETFIELD obj)

visitLADD

public void visitLADD(LADD obj)

visitNOP

public void visitNOP(NOP obj)

visitFALOAD

public void visitFALOAD(FALOAD obj)

visitINSTANCEOF

public void visitINSTANCEOF(INSTANCEOF obj)

visitIFLE

public void visitIFLE(IFLE obj)

visitLXOR

public void visitLXOR(LXOR obj)

visitLRETURN

public void visitLRETURN(LRETURN obj)

visitFCONST

public void visitFCONST(FCONST obj)

visitIUSHR

public void visitIUSHR(IUSHR obj)

visitBALOAD

public void visitBALOAD(BALOAD obj)

visitDUP2

public void visitDUP2(DUP2 obj)

visitIF_ACMPEQ

public void visitIF_ACMPEQ(IF_ACMPEQ obj)

visitIMPDEP1

public void visitIMPDEP1(IMPDEP1 obj)

visitMONITORENTER

public void visitMONITORENTER(MONITORENTER obj)

visitLSHL

public void visitLSHL(LSHL obj)

visitDCMPG

public void visitDCMPG(DCMPG obj)

visitD2L

public void visitD2L(D2L obj)

visitIMPDEP2

public void visitIMPDEP2(IMPDEP2 obj)

visitL2D

public void visitL2D(L2D obj)

visitRET

public void visitRET(RET obj)

visitIFGT

public void visitIFGT(IFGT obj)

visitIXOR

public void visitIXOR(IXOR obj)

visitINVOKEVIRTUAL

public void visitINVOKEVIRTUAL(INVOKEVIRTUAL obj)

visitFASTORE

public void visitFASTORE(FASTORE obj)

visitIRETURN

public void visitIRETURN(IRETURN obj)

visitIF_ICMPNE

public void visitIF_ICMPNE(IF_ICMPNE obj)

visitFLOAD

public void visitFLOAD(FLOAD obj)

visitLDIV

public void visitLDIV(LDIV obj)

visitPUTSTATIC

public void visitPUTSTATIC(PUTSTATIC obj)

visitAALOAD

public void visitAALOAD(AALOAD obj)

visitD2I

public void visitD2I(D2I obj)

visitIF_ICMPEQ

public void visitIF_ICMPEQ(IF_ICMPEQ obj)

visitAASTORE

public void visitAASTORE(AASTORE obj)

visitARETURN

public void visitARETURN(ARETURN obj)

visitDUP2_X1

public void visitDUP2_X1(DUP2_X1 obj)

visitFNEG

public void visitFNEG(FNEG obj)

visitGOTO_W

public void visitGOTO_W(GOTO_W obj)

visitD2F

public void visitD2F(D2F obj)

visitGOTO

public void visitGOTO(GOTO obj)

visitISUB

public void visitISUB(ISUB obj)

visitF2I

public void visitF2I(F2I obj)

visitDNEG

public void visitDNEG(DNEG obj)

visitICONST

public void visitICONST(ICONST obj)

visitFDIV

public void visitFDIV(FDIV obj)

visitI2B

public void visitI2B(I2B obj)

visitLNEG

public void visitLNEG(LNEG obj)

visitLREM

public void visitLREM(LREM obj)

visitIMUL

public void visitIMUL(IMUL obj)

visitIADD

public void visitIADD(IADD obj)

visitLSHR

public void visitLSHR(LSHR obj)

visitLOOKUPSWITCH

public void visitLOOKUPSWITCH(LOOKUPSWITCH obj)

visitDUP_X1

public void visitDUP_X1(DUP_X1 obj)

visitFCMPL

public void visitFCMPL(FCMPL obj)

visitI2C

public void visitI2C(I2C obj)

visitLMUL

public void visitLMUL(LMUL obj)

visitLUSHR

public void visitLUSHR(LUSHR obj)

visitISHL

public void visitISHL(ISHL obj)

visitLALOAD

public void visitLALOAD(LALOAD obj)

visitASTORE

public void visitASTORE(ASTORE obj)

visitANEWARRAY

public void visitANEWARRAY(ANEWARRAY obj)

visitFRETURN

public void visitFRETURN(FRETURN obj)

visitFADD

public void visitFADD(FADD obj)

visitBREAKPOINT

public void visitBREAKPOINT(BREAKPOINT obj)