123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247 |
- package org.aspectj.apache.bcel.generic;
-
- /* ====================================================================
- * The Apache Software License, Version 1.1
- *
- * Copyright (c) 2001 The Apache Software Foundation. All rights
- * reserved.
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
- *
- * 1. Redistributions of source code must retain the above copyright
- * notice, this list of conditions and the following disclaimer.
- *
- * 2. Redistributions in binary form must reproduce the above copyright
- * notice, this list of conditions and the following disclaimer in
- * the documentation and/or other materials provided with the
- * distribution.
- *
- * 3. The end-user documentation included with the redistribution,
- * if any, must include the following acknowledgment:
- * "This product includes software developed by the
- * Apache Software Foundation (https://www.apache.org/)."
- * Alternately, this acknowledgment may appear in the software itself,
- * if and wherever such third-party acknowledgments normally appear.
- *
- * 4. The names "Apache" and "Apache Software Foundation" and
- * "Apache BCEL" must not be used to endorse or promote products
- * derived from this software without prior written permission. For
- * written permission, please contact apache@apache.org.
- *
- * 5. Products derived from this software may not be called "Apache",
- * "Apache BCEL", nor may "Apache" appear in their name, without
- * prior written permission of the Apache Software Foundation.
- *
- * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED
- * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
- * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
- * DISCLAIMED. IN NO EVENT SHALL THE APACHE SOFTWARE FOUNDATION OR
- * ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
- * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
- * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
- * USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
- * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
- * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
- * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
- * SUCH DAMAGE.
- * ====================================================================
- *
- * This software consists of voluntary contributions made by many
- * individuals on behalf of the Apache Software Foundation. For more
- * information on the Apache Software Foundation, please see
- * <https://www.apache.org/>.
- */
-
- /**
- * 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: InstVisitor.java,v 1.2 2008/05/28 23:52:59 aclement Exp $
- * @author <A HREF="mailto:markus.dahm@berlin.de">M. Dahm</A>
- */
- public interface InstVisitor {
- void visitStackInstruction(Instruction obj);
- void visitLocalVariableInstruction(InstructionLV obj);
- void visitBranchInstruction(InstructionBranch obj);
- void visitLoadClass(Instruction obj);
- void visitFieldInstruction(Instruction obj);
- void visitIfInstruction(Instruction obj);
- void visitConversionInstruction(Instruction obj);
- void visitPopInstruction(Instruction obj);
- void visitStoreInstruction(Instruction obj);
- void visitTypedInstruction(Instruction obj);
- void visitSelect(InstructionSelect obj);
- void visitJsrInstruction(InstructionBranch obj);
- void visitGotoInstruction(Instruction obj);
- void visitUnconditionalBranch(Instruction obj);
- void visitPushInstruction(Instruction obj);
- void visitArithmeticInstruction(Instruction obj);
- void visitCPInstruction(Instruction obj);
- void visitInvokeInstruction(InvokeInstruction obj);
- void visitArrayInstruction(Instruction obj);
- void visitAllocationInstruction(Instruction obj);
- void visitReturnInstruction(Instruction obj);
- void visitFieldOrMethod(Instruction obj);
- void visitConstantPushInstruction(Instruction obj);
- void visitExceptionThrower(Instruction obj);
- void visitLoadInstruction(Instruction obj);
- void visitVariableLengthInstruction(Instruction obj);
- void visitStackProducer(Instruction obj);
- void visitStackConsumer(Instruction obj);
- void visitACONST_NULL(Instruction obj);
- void visitGETSTATIC(FieldInstruction obj);
- void visitIF_ICMPLT(Instruction obj);
- void visitMONITOREXIT(Instruction obj);
- void visitIFLT(Instruction obj);
- void visitLSTORE(Instruction obj);
- void visitPOP2(Instruction obj);
- void visitBASTORE(Instruction obj);
- void visitISTORE(Instruction obj);
- void visitCHECKCAST(Instruction obj);
- void visitFCMPG(Instruction obj);
- void visitI2F(Instruction obj);
- void visitATHROW(Instruction obj);
- void visitDCMPL(Instruction obj);
- void visitARRAYLENGTH(Instruction obj);
- void visitDUP(Instruction obj);
- void visitINVOKESTATIC(InvokeInstruction obj);
- void visitLCONST(Instruction obj);
- void visitDREM(Instruction obj);
- void visitIFGE(Instruction obj);
- void visitCALOAD(Instruction obj);
- void visitLASTORE(Instruction obj);
- void visitI2D(Instruction obj);
- void visitDADD(Instruction obj);
- void visitINVOKESPECIAL(InvokeInstruction obj);
- void visitIAND(Instruction obj);
- void visitPUTFIELD(FieldInstruction obj);
- void visitILOAD(Instruction obj);
- void visitDLOAD(Instruction obj);
- void visitDCONST(Instruction obj);
- void visitNEW(Instruction obj);
- void visitIFNULL(Instruction obj);
- void visitLSUB(Instruction obj);
- void visitL2I(Instruction obj);
- void visitISHR(Instruction obj);
- void visitTABLESWITCH(TABLESWITCH obj);
- void visitIINC(IINC obj);
- void visitDRETURN(Instruction obj);
- void visitFSTORE(Instruction obj);
- void visitDASTORE(Instruction obj);
- void visitIALOAD(Instruction obj);
- void visitDDIV(Instruction obj);
- void visitIF_ICMPGE(Instruction obj);
- void visitLAND(Instruction obj);
- void visitIDIV(Instruction obj);
- void visitLOR(Instruction obj);
- void visitCASTORE(Instruction obj);
- void visitFREM(Instruction obj);
- void visitLDC(Instruction obj);
- void visitBIPUSH(Instruction obj);
- void visitDSTORE(Instruction obj);
- void visitF2L(Instruction obj);
- void visitFMUL(Instruction obj);
- void visitLLOAD(Instruction obj);
- void visitJSR(InstructionBranch obj);
- void visitFSUB(Instruction obj);
- void visitSASTORE(Instruction obj);
- void visitALOAD(Instruction obj);
- void visitDUP2_X2(Instruction obj);
- void visitRETURN(Instruction obj);
- void visitDALOAD(Instruction obj);
- void visitSIPUSH(Instruction obj);
- void visitDSUB(Instruction obj);
- void visitL2F(Instruction obj);
- void visitIF_ICMPGT(Instruction obj);
- void visitF2D(Instruction obj);
- void visitI2L(Instruction obj);
- void visitIF_ACMPNE(Instruction obj);
- void visitPOP(Instruction obj);
- void visitI2S(Instruction obj);
- void visitIFEQ(Instruction obj);
- void visitSWAP(Instruction obj);
- void visitIOR(Instruction obj);
- void visitIREM(Instruction obj);
- void visitIASTORE(Instruction obj);
- void visitNEWARRAY(Instruction obj);
- void visitINVOKEINTERFACE(INVOKEINTERFACE obj);
- void visitINEG(Instruction obj);
- void visitLCMP(Instruction obj);
- void visitJSR_W(InstructionBranch obj);
- void visitMULTIANEWARRAY(MULTIANEWARRAY obj);
- void visitDUP_X2(Instruction obj);
- void visitSALOAD(Instruction obj);
- void visitIFNONNULL(Instruction obj);
- void visitDMUL(Instruction obj);
- void visitIFNE(Instruction obj);
- void visitIF_ICMPLE(Instruction obj);
- void visitLDC2_W(Instruction obj);
- void visitGETFIELD(FieldInstruction obj);
- void visitLADD(Instruction obj);
- void visitNOP(Instruction obj);
- void visitFALOAD(Instruction obj);
- void visitINSTANCEOF(Instruction obj);
- void visitIFLE(Instruction obj);
- void visitLXOR(Instruction obj);
- void visitLRETURN(Instruction obj);
- void visitFCONST(Instruction obj);
- void visitIUSHR(Instruction obj);
- void visitBALOAD(Instruction obj);
- void visitDUP2(Instruction obj);
- void visitIF_ACMPEQ(Instruction obj);
- void visitIMPDEP1(Instruction obj);
- void visitMONITORENTER(Instruction obj);
- void visitLSHL(Instruction obj);
- void visitDCMPG(Instruction obj);
- void visitD2L(Instruction obj);
- void visitIMPDEP2(Instruction obj);
- void visitL2D(Instruction obj);
- void visitRET(RET obj);
- void visitIFGT(Instruction obj);
- void visitIXOR(Instruction obj);
- void visitINVOKEVIRTUAL(InvokeInstruction obj);
- void visitFASTORE(Instruction obj);
- void visitIRETURN(Instruction obj);
- void visitIF_ICMPNE(Instruction obj);
- void visitFLOAD(Instruction obj);
- void visitLDIV(Instruction obj);
- void visitPUTSTATIC(FieldInstruction obj);
- void visitAALOAD(Instruction obj);
- void visitD2I(Instruction obj);
- void visitIF_ICMPEQ(Instruction obj);
- void visitAASTORE(Instruction obj);
- void visitARETURN(Instruction obj);
- void visitDUP2_X1(Instruction obj);
- void visitFNEG(Instruction obj);
- void visitGOTO_W(Instruction obj);
- void visitD2F(Instruction obj);
- void visitGOTO(Instruction obj);
- void visitISUB(Instruction obj);
- void visitF2I(Instruction obj);
- void visitDNEG(Instruction obj);
- void visitICONST(Instruction obj);
- void visitFDIV(Instruction obj);
- void visitI2B(Instruction obj);
- void visitLNEG(Instruction obj);
- void visitLREM(Instruction obj);
- void visitIMUL(Instruction obj);
- void visitIADD(Instruction obj);
- void visitLSHR(Instruction obj);
- void visitLOOKUPSWITCH(LOOKUPSWITCH obj);
- void visitDUP_X1(Instruction obj);
- void visitFCMPL(Instruction obj);
- void visitI2C(Instruction obj);
- void visitLMUL(Instruction obj);
- void visitLUSHR(Instruction obj);
- void visitISHL(Instruction obj);
- void visitLALOAD(Instruction obj);
- void visitASTORE(Instruction obj);
- void visitANEWARRAY(Instruction obj);
- void visitFRETURN(Instruction obj);
- void visitFADD(Instruction obj);
- void visitBREAKPOINT(Instruction obj);
- }
|