    001/*
    002 * Licensed to the Apache Software Foundation (ASF) under one or more
    003 * contributor license agreements.  See the NOTICE file distributed with
    004 * this work for additional information regarding copyright ownership.
    005 * The ASF licenses this file to You under the Apache License, Version 2.0
    006 * (the "License"); you may not use this file except in compliance with
    007 * the License.  You may obtain a copy of the License at
    008 *
    009 *      http://www.apache.org/licenses/LICENSE-2.0
    010 *
    011 *  Unless required by applicable law or agreed to in writing, software
    012 *  distributed under the License is distributed on an "AS IS" BASIS,
    013 *  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    014 *  See the License for the specific language governing permissions and
    015 *  limitations under the License.
    016 *
    017 */
    018package org.apache.bcel.generic;
    019
    020/**
    021 * Supplies empty method bodies to be overridden by subclasses.
    022 *
    023 */
    024public abstract class EmptyVisitor implements Visitor {
    025
    026    @Override
    027    public void visitAALOAD(final AALOAD obj) {
    028    }
    029
    030    @Override
    031    public void visitAASTORE(final AASTORE obj) {
    032    }
    033
    034    @Override
    035    public void visitACONST_NULL(final ACONST_NULL obj) {
    036    }
    037
    038    @Override
    039    public void visitAllocationInstruction(final AllocationInstruction obj) {
    040    }
    041
    042    @Override
    043    public void visitALOAD(final ALOAD obj) {
    044    }
    045
    046    @Override
    047    public void visitANEWARRAY(final ANEWARRAY obj) {
    048    }
    049
    050    @Override
    051    public void visitARETURN(final ARETURN obj) {
    052    }
    053
    054    @Override
    055    public void visitArithmeticInstruction(final ArithmeticInstruction obj) {
    056    }
    057
    058    @Override
    059    public void visitArrayInstruction(final ArrayInstruction obj) {
    060    }
    061
    062    @Override
    063    public void visitARRAYLENGTH(final ARRAYLENGTH obj) {
    064    }
    065
    066    @Override
    067    public void visitASTORE(final ASTORE obj) {
    068    }
    069
    070    @Override
    071    public void visitATHROW(final ATHROW obj) {
    072    }
    073
    074    @Override
    075    public void visitBALOAD(final BALOAD obj) {
    076    }
    077
    078    @Override
    079    public void visitBASTORE(final BASTORE obj) {
    080    }
    081
    082    @Override
    083    public void visitBIPUSH(final BIPUSH obj) {
    084    }
    085
    086    @Override
    087    public void visitBranchInstruction(final BranchInstruction obj) {
    088    }
    089
    090    @Override
    091    public void visitBREAKPOINT(final BREAKPOINT obj) {
    092    }
    093
    094    @Override
    095    public void visitCALOAD(final CALOAD obj) {
    096    }
    097
    098    @Override
    099    public void visitCASTORE(final CASTORE obj) {
    100    }
    101
    102    @Override
    103    public void visitCHECKCAST(final CHECKCAST obj) {
    104    }
    105
    106    @Override
    107    public void visitConstantPushInstruction(final ConstantPushInstruction obj) {
    108    }
    109
    110    @Override
    111    public void visitConversionInstruction(final ConversionInstruction obj) {
    112    }
    113
    114    @Override
    115    public void visitCPInstruction(final CPInstruction obj) {
    116    }
    117
    118    @Override
    119    public void visitD2F(final D2F obj) {
    120    }
    121
    122    @Override
    123    public void visitD2I(final D2I obj) {
    124    }
    125
    126    @Override
    127    public void visitD2L(final D2L obj) {
    128    }
    129
    130    @Override
    131    public void visitDADD(final DADD obj) {
    132    }
    133
    134    @Override
    135    public void visitDALOAD(final DALOAD obj) {
    136    }
    137
    138    @Override
    139    public void visitDASTORE(final DASTORE obj) {
    140    }
    141
    142    @Override
    143    public void visitDCMPG(final DCMPG obj) {
    144    }
    145
    146    @Override
    147    public void visitDCMPL(final DCMPL obj) {
    148    }
    149
    150    @Override
    151    public void visitDCONST(final DCONST obj) {
    152    }
    153
    154    @Override
    155    public void visitDDIV(final DDIV obj) {
    156    }
    157
    158    @Override
    159    public void visitDLOAD(final DLOAD obj) {
    160    }
    161
    162    @Override
    163    public void visitDMUL(final DMUL obj) {
    164    }
    165
    166    @Override
    167    public void visitDNEG(final DNEG obj) {
    168    }
    169
    170    @Override
    171    public void visitDREM(final DREM obj) {
    172    }
    173
    174    @Override
    175    public void visitDRETURN(final DRETURN obj) {
    176    }
    177
    178    @Override
    179    public void visitDSTORE(final DSTORE obj) {
    180    }
    181
    182    @Override
    183    public void visitDSUB(final DSUB obj) {
    184    }
    185
    186    @Override
    187    public void visitDUP(final DUP obj) {
    188    }
    189
    190    @Override
    191    public void visitDUP_X1(final DUP_X1 obj) {
    192    }
    193
    194    @Override
    195    public void visitDUP_X2(final DUP_X2 obj) {
    196    }
    197
    198    @Override
    199    public void visitDUP2(final DUP2 obj) {
    200    }
    201
    202    @Override
    203    public void visitDUP2_X1(final DUP2_X1 obj) {
    204    }
    205
    206    @Override
    207    public void visitDUP2_X2(final DUP2_X2 obj) {
    208    }
    209
    210    @Override
    211    public void visitExceptionThrower(final ExceptionThrower obj) {
    212    }
    213
    214    @Override
    215    public void visitF2D(final F2D obj) {
    216    }
    217
    218    @Override
    219    public void visitF2I(final F2I obj) {
    220    }
    221
    222    @Override
    223    public void visitF2L(final F2L obj) {
    224    }
    225
    226    @Override
    227    public void visitFADD(final FADD obj) {
    228    }
    229
    230    @Override
    231    public void visitFALOAD(final FALOAD obj) {
    232    }
    233
    234    @Override
    235    public void visitFASTORE(final FASTORE obj) {
    236    }
    237
    238    @Override
    239    public void visitFCMPG(final FCMPG obj) {
    240    }
    241
    242    @Override
    243    public void visitFCMPL(final FCMPL obj) {
    244    }
    245
    246    @Override
    247    public void visitFCONST(final FCONST obj) {
    248    }
    249
    250    @Override
    251    public void visitFDIV(final FDIV obj) {
    252    }
    253
    254    @Override
    255    public void visitFieldInstruction(final FieldInstruction obj) {
    256    }
    257
    258    @Override
    259    public void visitFieldOrMethod(final FieldOrMethod obj) {
    260    }
    261
    262    @Override
    263    public void visitFLOAD(final FLOAD obj) {
    264    }
    265
    266    @Override
    267    public void visitFMUL(final FMUL obj) {
    268    }
    269
    270    @Override
    271    public void visitFNEG(final FNEG obj) {
    272    }
    273
    274    @Override
    275    public void visitFREM(final FREM obj) {
    276    }
    277
    278    @Override
    279    public void visitFRETURN(final FRETURN obj) {
    280    }
    281
    282    @Override
    283    public void visitFSTORE(final FSTORE obj) {
    284    }
    285
    286    @Override
    287    public void visitFSUB(final FSUB obj) {
    288    }
    289
    290    @Override
    291    public void visitGETFIELD(final GETFIELD obj) {
    292    }
    293
    294    @Override
    295    public void visitGETSTATIC(final GETSTATIC obj) {
    296    }
    297
    298    @Override
    299    public void visitGOTO(final GOTO obj) {
    300    }
    301
    302    @Override
    303    public void visitGOTO_W(final GOTO_W obj) {
    304    }
    305
    306    @Override
    307    public void visitGotoInstruction(final GotoInstruction obj) {
    308    }
    309
    310    @Override
    311    public void visitI2B(final I2B obj) {
    312    }
    313
    314    @Override
    315    public void visitI2C(final I2C obj) {
    316    }
    317
    318    @Override
    319    public void visitI2D(final I2D obj) {
    320    }
    321
    322    @Override
    323    public void visitI2F(final I2F obj) {
    324    }
    325
    326    @Override
    327    public void visitI2L(final I2L obj) {
    328    }
    329
    330    @Override
    331    public void visitI2S(final I2S obj) {
    332    }
    333
    334    @Override
    335    public void visitIADD(final IADD obj) {
    336    }
    337
    338    @Override
    339    public void visitIALOAD(final IALOAD obj) {
    340    }
    341
    342    @Override
    343    public void visitIAND(final IAND obj) {
    344    }
    345
    346    @Override
    347    public void visitIASTORE(final IASTORE obj) {
    348    }
    349
    350    @Override
    351    public void visitICONST(final ICONST obj) {
    352    }
    353
    354    @Override
    355    public void visitIDIV(final IDIV obj) {
    356    }
    357
    358    @Override
    359    public void visitIF_ACMPEQ(final IF_ACMPEQ obj) {
    360    }
    361
    362    @Override
    363    public void visitIF_ACMPNE(final IF_ACMPNE obj) {
    364    }
    365
    366    @Override
    367    public void visitIF_ICMPEQ(final IF_ICMPEQ obj) {
    368    }
    369
    370    @Override
    371    public void visitIF_ICMPGE(final IF_ICMPGE obj) {
    372    }
    373
    374    @Override
    375    public void visitIF_ICMPGT(final IF_ICMPGT obj) {
    376    }
    377
    378    @Override
    379    public void visitIF_ICMPLE(final IF_ICMPLE obj) {
    380    }
    381
    382    @Override
    383    public void visitIF_ICMPLT(final IF_ICMPLT obj) {
    384    }
    385
    386    @Override
    387    public void visitIF_ICMPNE(final IF_ICMPNE obj) {
    388    }
    389
    390    @Override
    391    public void visitIFEQ(final IFEQ obj) {
    392    }
    393
    394    @Override
    395    public void visitIFGE(final IFGE obj) {
    396    }
    397
    398    @Override
    399    public void visitIFGT(final IFGT obj) {
    400    }
    401
    402    @Override
    403    public void visitIfInstruction(final IfInstruction obj) {
    404    }
    405
    406    @Override
    407    public void visitIFLE(final IFLE obj) {
    408    }
    409
    410    @Override
    411    public void visitIFLT(final IFLT obj) {
    412    }
    413
    414    @Override
    415    public void visitIFNE(final IFNE obj) {
    416    }
    417
    418    @Override
    419    public void visitIFNONNULL(final IFNONNULL obj) {
    420    }
    421
    422    @Override
    423    public void visitIFNULL(final IFNULL obj) {
    424    }
    425
    426    @Override
    427    public void visitIINC(final IINC obj) {
    428    }
    429
    430    @Override
    431    public void visitILOAD(final ILOAD obj) {
    432    }
    433
    434    @Override
    435    public void visitIMPDEP1(final IMPDEP1 obj) {
    436    }
    437
    438    @Override
    439    public void visitIMPDEP2(final IMPDEP2 obj) {
    440    }
    441
    442    @Override
    443    public void visitIMUL(final IMUL obj) {
    444    }
    445
    446    @Override
    447    public void visitINEG(final INEG obj) {
    448    }
    449
    450    @Override
    451    public void visitINSTANCEOF(final INSTANCEOF obj) {
    452    }
    453
    454    /**
    455     * @since 6.0
    456     */
    457    @Override
    458    public void visitINVOKEDYNAMIC(final INVOKEDYNAMIC obj) {
    459    }
    460
    461    @Override
    462    public void visitInvokeInstruction(final InvokeInstruction obj) {
    463    }
    464
    465    @Override
    466    public void visitINVOKEINTERFACE(final INVOKEINTERFACE obj) {
    467    }
    468
    469    @Override
    470    public void visitINVOKESPECIAL(final INVOKESPECIAL obj) {
    471    }
    472
    473    @Override
    474    public void visitINVOKESTATIC(final INVOKESTATIC obj) {
    475    }
    476
    477    @Override
    478    public void visitINVOKEVIRTUAL(final INVOKEVIRTUAL obj) {
    479    }
    480
    481    @Override
    482    public void visitIOR(final IOR obj) {
    483    }
    484
    485    @Override
    486    public void visitIREM(final IREM obj) {
    487    }
    488
    489    @Override
    490    public void visitIRETURN(final IRETURN obj) {
    491    }
    492
    493    @Override
    494    public void visitISHL(final ISHL obj) {
    495    }
    496
    497    @Override
    498    public void visitISHR(final ISHR obj) {
    499    }
    500
    501    @Override
    502    public void visitISTORE(final ISTORE obj) {
    503    }
    504
    505    @Override
    506    public void visitISUB(final ISUB obj) {
    507    }
    508
    509    @Override
    510    public void visitIUSHR(final IUSHR obj) {
    511    }
    512
    513    @Override
    514    public void visitIXOR(final IXOR obj) {
    515    }
    516
    517    @Override
    518    public void visitJSR(final JSR obj) {
    519    }
    520
    521    @Override
    522    public void visitJSR_W(final JSR_W obj) {
    523    }
    524
    525    @Override
    526    public void visitJsrInstruction(final JsrInstruction obj) {
    527    }
    528
    529    @Override
    530    public void visitL2D(final L2D obj) {
    531    }
    532
    533    @Override
    534    public void visitL2F(final L2F obj) {
    535    }
    536
    537    @Override
    538    public void visitL2I(final L2I obj) {
    539    }
    540
    541    @Override
    542    public void visitLADD(final LADD obj) {
    543    }
    544
    545    @Override
    546    public void visitLALOAD(final LALOAD obj) {
    547    }
    548
    549    @Override
    550    public void visitLAND(final LAND obj) {
    551    }
    552
    553    @Override
    554    public void visitLASTORE(final LASTORE obj) {
    555    }
    556
    557    @Override
    558    public void visitLCMP(final LCMP obj) {
    559    }
    560
    561    @Override
    562    public void visitLCONST(final LCONST obj) {
    563    }
    564
    565    @Override
    566    public void visitLDC(final LDC obj) {
    567    }
    568
    569    @Override
    570    public void visitLDC2_W(final LDC2_W obj) {
    571    }
    572
    573    @Override
    574    public void visitLDIV(final LDIV obj) {
    575    }
    576
    577    @Override
    578    public void visitLLOAD(final LLOAD obj) {
    579    }
    580
    581    @Override
    582    public void visitLMUL(final LMUL obj) {
    583    }
    584
    585    @Override
    586    public void visitLNEG(final LNEG obj) {
    587    }
    588
    589    @Override
    590    public void visitLoadClass(final LoadClass obj) {
    591    }
    592
    593    @Override
    594    public void visitLoadInstruction(final LoadInstruction obj) {
    595    }
    596
    597    @Override
    598    public void visitLocalVariableInstruction(final LocalVariableInstruction obj) {
    599    }
    600
    601    @Override
    602    public void visitLOOKUPSWITCH(final LOOKUPSWITCH obj) {
    603    }
    604
    605    @Override
    606    public void visitLOR(final LOR obj) {
    607    }
    608
    609    @Override
    610    public void visitLREM(final LREM obj) {
    611    }
    612
    613    @Override
    614    public void visitLRETURN(final LRETURN obj) {
    615    }
    616
    617    @Override
    618    public void visitLSHL(final LSHL obj) {
    619    }
    620
    621    @Override
    622    public void visitLSHR(final LSHR obj) {
    623    }
    624
    625    @Override
    626    public void visitLSTORE(final LSTORE obj) {
    627    }
    628
    629    @Override
    630    public void visitLSUB(final LSUB obj) {
    631    }
    632
    633    @Override
    634    public void visitLUSHR(final LUSHR obj) {
    635    }
    636
    637    @Override
    638    public void visitLXOR(final LXOR obj) {
    639    }
    640
    641    @Override
    642    public void visitMONITORENTER(final MONITORENTER obj) {
    643    }
    644
    645    @Override
    646    public void visitMONITOREXIT(final MONITOREXIT obj) {
    647    }
    648
    649    @Override
    650    public void visitMULTIANEWARRAY(final MULTIANEWARRAY obj) {
    651    }
    652
    653    @Override
    654    public void visitNEW(final NEW obj) {
    655    }
    656
    657    @Override
    658    public void visitNEWARRAY(final NEWARRAY obj) {
    659    }
    660
    661    @Override
    662    public void visitNOP(final NOP obj) {
    663    }
    664
    665    @Override
    666    public void visitPOP(final POP obj) {
    667    }
    668
    669    @Override
    670    public void visitPOP2(final POP2 obj) {
    671    }
    672
    673    @Override
    674    public void visitPopInstruction(final PopInstruction obj) {
    675    }
    676
    677    @Override
    678    public void visitPushInstruction(final PushInstruction obj) {
    679    }
    680
    681    @Override
    682    public void visitPUTFIELD(final PUTFIELD obj) {
    683    }
    684
    685    @Override
    686    public void visitPUTSTATIC(final PUTSTATIC obj) {
    687    }
    688
    689    @Override
    690    public void visitRET(final RET obj) {
    691    }
    692
    693    @Override
    694    public void visitRETURN(final RETURN obj) {
    695    }
    696
    697    @Override
    698    public void visitReturnInstruction(final ReturnInstruction obj) {
    699    }
    700
    701    @Override
    702    public void visitSALOAD(final SALOAD obj) {
    703    }
    704
    705    @Override
    706    public void visitSASTORE(final SASTORE obj) {
    707    }
    708
    709    @Override
    710    public void visitSelect(final Select obj) {
    711    }
    712
    713    @Override
    714    public void visitSIPUSH(final SIPUSH obj) {
    715    }
    716
    717    @Override
    718    public void visitStackConsumer(final StackConsumer obj) {
    719    }
    720
    721    @Override
    722    public void visitStackInstruction(final StackInstruction obj) {
    723    }
    724
    725    @Override
    726    public void visitStackProducer(final StackProducer obj) {
    727    }
    728
    729    @Override
    730    public void visitStoreInstruction(final StoreInstruction obj) {
    731    }
    732
    733    @Override
    734    public void visitSWAP(final SWAP obj) {
    735    }
    736
    737    @Override
    738    public void visitTABLESWITCH(final TABLESWITCH obj) {
    739    }
    740
    741    @Override
    742    public void visitTypedInstruction(final TypedInstruction obj) {
    743    }
    744
    745    @Override
    746    public void visitUnconditionalBranch(final UnconditionalBranch obj) {
    747    }
    748
    749    @Override
    750    public void visitVariableLengthInstruction(final VariableLengthInstruction obj) {
    751    }
    752}