    View Javadoc
    1   package org.apache.bcel.generic;
    2
    3   /* ====================================================================
    4    * The Apache Software License, Version 1.1
    5    *
    6    * Copyright (c) 2001 The Apache Software Foundation.  All rights
    7    * reserved.
    8    *
    9    * Redistribution and use in source and binary forms, with or without
    10   * modification, are permitted provided that the following conditions
    11   * are met:
    12   *
    13   * 1. Redistributions of source code must retain the above copyright
    14   *    notice, this list of conditions and the following disclaimer.
    15   *
    16   * 2. Redistributions in binary form must reproduce the above copyright
    17   *    notice, this list of conditions and the following disclaimer in
    18   *    the documentation and/or other materials provided with the
    19   *    distribution.
    20   *
    21   * 3. The end-user documentation included with the redistribution,
    22   *    if any, must include the following acknowledgment:
    23   *       "This product includes software developed by the
    24   *        Apache Software Foundation (http://www.apache.org/)."
    25   *    Alternately, this acknowledgment may appear in the software itself,
    26   *    if and wherever such third-party acknowledgments normally appear.
    27   *
    28   * 4. The names "Apache" and "Apache Software Foundation" and
    29   *    "Apache BCEL" must not be used to endorse or promote products
    30   *    derived from this software without prior written permission. For
    31   *    written permission, please contact apache@apache.org.
    32   *
    33   * 5. Products derived from this software may not be called "Apache",
    34   *    "Apache BCEL", nor may "Apache" appear in their name, without
    35   *    prior written permission of the Apache Software Foundation.
    36   *
    37   * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED
    38   * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
    39   * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
    40   * DISCLAIMED.  IN NO EVENT SHALL THE APACHE SOFTWARE FOUNDATION OR
    41   * ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
    42   * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
    43   * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
    44   * USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
    45   * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
    46   * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
    47   * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
    48   * SUCH DAMAGE.
    49   * ====================================================================
    50   *
    51   * This software consists of voluntary contributions made by many
    52   * individuals on behalf of the Apache Software Foundation.  For more
    53   * information on the Apache Software Foundation, please see
    54   * <http://www.apache.org/>;.
    55   */
    56
    57  /***
    58   * Supplies empty method bodies to be overridden by subclasses.
    59   *
    60   * @version $Id: EmptyVisitor.java,v 1.1.1.1 2001/10/29 20:00:11 jvanzyl Exp $
    61   * @author  <A HREF="mailto:markus.dahm@berlin.de">M. Dahm</A>
    62   */
    63  public abstract class EmptyVisitor implements Visitor {
    64    public void visitStackInstruction(StackInstruction obj) { }
    65    public void visitLocalVariableInstruction(LocalVariableInstruction obj) { }
    66    public void visitBranchInstruction(BranchInstruction obj) { }
    67    public void visitLoadClass(LoadClass obj) { }
    68    public void visitFieldInstruction(FieldInstruction obj) { }
    69    public void visitIfInstruction(IfInstruction obj) { }
    70    public void visitConversionInstruction(ConversionInstruction obj) { }
    71    public void visitPopInstruction(PopInstruction obj) { }
    72    public void visitJsrInstruction(JsrInstruction obj) { }
    73    public void visitGotoInstruction(GotoInstruction obj) { }
    74    public void visitStoreInstruction(StoreInstruction obj) { }
    75    public void visitTypedInstruction(TypedInstruction obj) { }
    76    public void visitSelect(Select obj) { }
    77    public void visitUnconditionalBranch(UnconditionalBranch obj) { }
    78    public void visitPushInstruction(PushInstruction obj) { }
    79    public void visitArithmeticInstruction(ArithmeticInstruction obj) { }
    80    public void visitCPInstruction(CPInstruction obj) { }
    81    public void visitInvokeInstruction(InvokeInstruction obj) { }
    82    public void visitArrayInstruction(ArrayInstruction obj) { }
    83    public void visitAllocationInstruction(AllocationInstruction obj) { }
    84    public void visitReturnInstruction(ReturnInstruction obj) { }
    85    public void visitFieldOrMethod(FieldOrMethod obj) { }
    86    public void visitConstantPushInstruction(ConstantPushInstruction obj) { }
    87    public void visitExceptionThrower(ExceptionThrower obj) { }
    88    public void visitLoadInstruction(LoadInstruction obj) { }
    89    public void visitVariableLengthInstruction(VariableLengthInstruction obj) { }
    90    public void visitStackProducer(StackProducer obj) { }
    91    public void visitStackConsumer(StackConsumer obj) { }
    92    public void visitACONST_NULL(ACONST_NULL obj) { }
    93    public void visitGETSTATIC(GETSTATIC obj) { }
    94    public void visitIF_ICMPLT(IF_ICMPLT obj) { }
    95    public void visitMONITOREXIT(MONITOREXIT obj) { }
    96    public void visitIFLT(IFLT obj) { }
    97    public void visitLSTORE(LSTORE obj) { }
    98    public void visitPOP2(POP2 obj) { }
    99    public void visitBASTORE(BASTORE obj) { }
    100   public void visitISTORE(ISTORE obj) { }
    101   public void visitCHECKCAST(CHECKCAST obj) { }
    102   public void visitFCMPG(FCMPG obj) { }
    103   public void visitI2F(I2F obj) { }
    104   public void visitATHROW(ATHROW obj) { }
    105   public void visitDCMPL(DCMPL obj) { }
    106   public void visitARRAYLENGTH(ARRAYLENGTH obj) { }
    107   public void visitDUP(DUP obj) { }
    108   public void visitINVOKESTATIC(INVOKESTATIC obj) { }
    109   public void visitLCONST(LCONST obj) { }
    110   public void visitDREM(DREM obj) { }
    111   public void visitIFGE(IFGE obj) { }
    112   public void visitCALOAD(CALOAD obj) { }
    113   public void visitLASTORE(LASTORE obj) { }
    114   public void visitI2D(I2D obj) { }
    115   public void visitDADD(DADD obj) { }
    116   public void visitINVOKESPECIAL(INVOKESPECIAL obj) { }
    117   public void visitIAND(IAND obj) { }
    118   public void visitPUTFIELD(PUTFIELD obj) { }
    119   public void visitILOAD(ILOAD obj) { }
    120   public void visitDLOAD(DLOAD obj) { }
    121   public void visitDCONST(DCONST obj) { }
    122   public void visitNEW(NEW obj) { }
    123   public void visitIFNULL(IFNULL obj) { }
    124   public void visitLSUB(LSUB obj) { }
    125   public void visitL2I(L2I obj) { }
    126   public void visitISHR(ISHR obj) { }
    127   public void visitTABLESWITCH(TABLESWITCH obj) { }
    128   public void visitIINC(IINC obj) { }
    129   public void visitDRETURN(DRETURN obj) { }
    130   public void visitFSTORE(FSTORE obj) { }
    131   public void visitDASTORE(DASTORE obj) { }
    132   public void visitIALOAD(IALOAD obj) { }
    133   public void visitDDIV(DDIV obj) { }
    134   public void visitIF_ICMPGE(IF_ICMPGE obj) { }
    135   public void visitLAND(LAND obj) { }
    136   public void visitIDIV(IDIV obj) { }
    137   public void visitLOR(LOR obj) { }
    138   public void visitCASTORE(CASTORE obj) { }
    139   public void visitFREM(FREM obj) { }
    140   public void visitLDC(LDC obj) { }
    141   public void visitBIPUSH(BIPUSH obj) { }
    142   public void visitDSTORE(DSTORE obj) { }
    143   public void visitF2L(F2L obj) { }
    144   public void visitFMUL(FMUL obj) { }
    145   public void visitLLOAD(LLOAD obj) { }
    146   public void visitJSR(JSR obj) { }
    147   public void visitFSUB(FSUB obj) { }
    148   public void visitSASTORE(SASTORE obj) { }
    149   public void visitALOAD(ALOAD obj) { }
    150   public void visitDUP2_X2(DUP2_X2 obj) { }
    151   public void visitRETURN(RETURN obj) { }
    152   public void visitDALOAD(DALOAD obj) { }
    153   public void visitSIPUSH(SIPUSH obj) { }
    154   public void visitDSUB(DSUB obj) { }
    155   public void visitL2F(L2F obj) { }
    156   public void visitIF_ICMPGT(IF_ICMPGT obj) { }
    157   public void visitF2D(F2D obj) { }
    158   public void visitI2L(I2L obj) { }
    159   public void visitIF_ACMPNE(IF_ACMPNE obj) { }
    160   public void visitPOP(POP obj) { }
    161   public void visitI2S(I2S obj) { }
    162   public void visitIFEQ(IFEQ obj) { }
    163   public void visitSWAP(SWAP obj) { }
    164   public void visitIOR(IOR obj) { }
    165   public void visitIREM(IREM obj) { }
    166   public void visitIASTORE(IASTORE obj) { }
    167   public void visitNEWARRAY(NEWARRAY obj) { }
    168   public void visitINVOKEINTERFACE(INVOKEINTERFACE obj) { }
    169   public void visitINEG(INEG obj) { }
    170   public void visitLCMP(LCMP obj) { }
    171   public void visitJSR_W(JSR_W obj) { }
    172   public void visitMULTIANEWARRAY(MULTIANEWARRAY obj) { }
    173   public void visitDUP_X2(DUP_X2 obj) { }
    174   public void visitSALOAD(SALOAD obj) { }
    175   public void visitIFNONNULL(IFNONNULL obj) { }
    176   public void visitDMUL(DMUL obj) { }
    177   public void visitIFNE(IFNE obj) { }
    178   public void visitIF_ICMPLE(IF_ICMPLE obj) { }
    179   public void visitLDC2_W(LDC2_W obj) { }
    180   public void visitGETFIELD(GETFIELD obj) { }
    181   public void visitLADD(LADD obj) { }
    182   public void visitNOP(NOP obj) { }
    183   public void visitFALOAD(FALOAD obj) { }
    184   public void visitINSTANCEOF(INSTANCEOF obj) { }
    185   public void visitIFLE(IFLE obj) { }
    186   public void visitLXOR(LXOR obj) { }
    187   public void visitLRETURN(LRETURN obj) { }
    188   public void visitFCONST(FCONST obj) { }
    189   public void visitIUSHR(IUSHR obj) { }
    190   public void visitBALOAD(BALOAD obj) { }
    191   public void visitDUP2(DUP2 obj) { }
    192   public void visitIF_ACMPEQ(IF_ACMPEQ obj) { }
    193   public void visitIMPDEP1(IMPDEP1 obj) { }
    194   public void visitMONITORENTER(MONITORENTER obj) { }
    195   public void visitLSHL(LSHL obj) { }
    196   public void visitDCMPG(DCMPG obj) { }
    197   public void visitD2L(D2L obj) { }
    198   public void visitIMPDEP2(IMPDEP2 obj) { }
    199   public void visitL2D(L2D obj) { }
    200   public void visitRET(RET obj) { }
    201   public void visitIFGT(IFGT obj) { }
    202   public void visitIXOR(IXOR obj) { }
    203   public void visitINVOKEVIRTUAL(INVOKEVIRTUAL obj) { }
    204   public void visitFASTORE(FASTORE obj) { }
    205   public void visitIRETURN(IRETURN obj) { }
    206   public void visitIF_ICMPNE(IF_ICMPNE obj) { }
    207   public void visitFLOAD(FLOAD obj) { }
    208   public void visitLDIV(LDIV obj) { }
    209   public void visitPUTSTATIC(PUTSTATIC obj) { }
    210   public void visitAALOAD(AALOAD obj) { }
    211   public void visitD2I(D2I obj) { }
    212   public void visitIF_ICMPEQ(IF_ICMPEQ obj) { }
    213   public void visitAASTORE(AASTORE obj) { }
    214   public void visitARETURN(ARETURN obj) { }
    215   public void visitDUP2_X1(DUP2_X1 obj) { }
    216   public void visitFNEG(FNEG obj) { }
    217   public void visitGOTO_W(GOTO_W obj) { }
    218   public void visitD2F(D2F obj) { }
    219   public void visitGOTO(GOTO obj) { }
    220   public void visitISUB(ISUB obj) { }
    221   public void visitF2I(F2I obj) { }
    222   public void visitDNEG(DNEG obj) { }
    223   public void visitICONST(ICONST obj) { }
    224   public void visitFDIV(FDIV obj) { }
    225   public void visitI2B(I2B obj) { }
    226   public void visitLNEG(LNEG obj) { }
    227   public void visitLREM(LREM obj) { }
    228   public void visitIMUL(IMUL obj) { }
    229   public void visitIADD(IADD obj) { }
    230   public void visitLSHR(LSHR obj) { }
    231   public void visitLOOKUPSWITCH(LOOKUPSWITCH obj) { }
    232   public void visitDUP_X1(DUP_X1 obj) { }
    233   public void visitFCMPL(FCMPL obj) { }
    234   public void visitI2C(I2C obj) { }
    235   public void visitLMUL(LMUL obj) { }
    236   public void visitLUSHR(LUSHR obj) { }
    237   public void visitISHL(ISHL obj) { }
    238   public void visitLALOAD(LALOAD obj) { }
    239   public void visitASTORE(ASTORE obj) { }
    240   public void visitANEWARRAY(ANEWARRAY obj) { }
    241   public void visitFRETURN(FRETURN obj) { }
    242   public void visitFADD(FADD obj) { }
    243   public void visitBREAKPOINT(BREAKPOINT obj) { }
    244 }

This page was automatically generated by Maven