    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 * @version $Id$
    024 */
    025public abstract class EmptyVisitor implements Visitor {
    026
    027    @Override
    028    public void visitStackInstruction( final StackInstruction obj ) {
    029    }
    030
    031
    032    @Override
    033    public void visitLocalVariableInstruction( final LocalVariableInstruction obj ) {
    034    }
    035
    036
    037    @Override
    038    public void visitBranchInstruction( final BranchInstruction obj ) {
    039    }
    040
    041
    042    @Override
    043    public void visitLoadClass( final LoadClass obj ) {
    044    }
    045
    046
    047    @Override
    048    public void visitFieldInstruction( final FieldInstruction obj ) {
    049    }
    050
    051
    052    @Override
    053    public void visitIfInstruction( final IfInstruction obj ) {
    054    }
    055
    056
    057    @Override
    058    public void visitConversionInstruction( final ConversionInstruction obj ) {
    059    }
    060
    061
    062    @Override
    063    public void visitPopInstruction( final PopInstruction obj ) {
    064    }
    065
    066
    067    @Override
    068    public void visitJsrInstruction( final JsrInstruction obj ) {
    069    }
    070
    071
    072    @Override
    073    public void visitGotoInstruction( final GotoInstruction obj ) {
    074    }
    075
    076
    077    @Override
    078    public void visitStoreInstruction( final StoreInstruction obj ) {
    079    }
    080
    081
    082    @Override
    083    public void visitTypedInstruction( final TypedInstruction obj ) {
    084    }
    085
    086
    087    @Override
    088    public void visitSelect( final Select obj ) {
    089    }
    090
    091
    092    @Override
    093    public void visitUnconditionalBranch( final UnconditionalBranch obj ) {
    094    }
    095
    096
    097    @Override
    098    public void visitPushInstruction( final PushInstruction obj ) {
    099    }
    100
    101
    102    @Override
    103    public void visitArithmeticInstruction( final ArithmeticInstruction obj ) {
    104    }
    105
    106
    107    @Override
    108    public void visitCPInstruction( final CPInstruction obj ) {
    109    }
    110
    111
    112    @Override
    113    public void visitInvokeInstruction( final InvokeInstruction obj ) {
    114    }
    115
    116
    117    @Override
    118    public void visitArrayInstruction( final ArrayInstruction obj ) {
    119    }
    120
    121
    122    @Override
    123    public void visitAllocationInstruction( final AllocationInstruction obj ) {
    124    }
    125
    126
    127    @Override
    128    public void visitReturnInstruction( final ReturnInstruction obj ) {
    129    }
    130
    131
    132    @Override
    133    public void visitFieldOrMethod( final FieldOrMethod obj ) {
    134    }
    135
    136
    137    @Override
    138    public void visitConstantPushInstruction( final ConstantPushInstruction obj ) {
    139    }
    140
    141
    142    @Override
    143    public void visitExceptionThrower( final ExceptionThrower obj ) {
    144    }
    145
    146
    147    @Override
    148    public void visitLoadInstruction( final LoadInstruction obj ) {
    149    }
    150
    151
    152    @Override
    153    public void visitVariableLengthInstruction( final VariableLengthInstruction obj ) {
    154    }
    155
    156
    157    @Override
    158    public void visitStackProducer( final StackProducer obj ) {
    159    }
    160
    161
    162    @Override
    163    public void visitStackConsumer( final StackConsumer obj ) {
    164    }
    165
    166
    167    @Override
    168    public void visitACONST_NULL( final ACONST_NULL obj ) {
    169    }
    170
    171
    172    @Override
    173    public void visitGETSTATIC( final GETSTATIC obj ) {
    174    }
    175
    176
    177    @Override
    178    public void visitIF_ICMPLT( final IF_ICMPLT obj ) {
    179    }
    180
    181
    182    @Override
    183    public void visitMONITOREXIT( final MONITOREXIT obj ) {
    184    }
    185
    186
    187    @Override
    188    public void visitIFLT( final IFLT obj ) {
    189    }
    190
    191
    192    @Override
    193    public void visitLSTORE( final LSTORE obj ) {
    194    }
    195
    196
    197    @Override
    198    public void visitPOP2( final POP2 obj ) {
    199    }
    200
    201
    202    @Override
    203    public void visitBASTORE( final BASTORE obj ) {
    204    }
    205
    206
    207    @Override
    208    public void visitISTORE( final ISTORE obj ) {
    209    }
    210
    211
    212    @Override
    213    public void visitCHECKCAST( final CHECKCAST obj ) {
    214    }
    215
    216
    217    @Override
    218    public void visitFCMPG( final FCMPG obj ) {
    219    }
    220
    221
    222    @Override
    223    public void visitI2F( final I2F obj ) {
    224    }
    225
    226
    227    @Override
    228    public void visitATHROW( final ATHROW obj ) {
    229    }
    230
    231
    232    @Override
    233    public void visitDCMPL( final DCMPL obj ) {
    234    }
    235
    236
    237    @Override
    238    public void visitARRAYLENGTH( final ARRAYLENGTH obj ) {
    239    }
    240
    241
    242    @Override
    243    public void visitDUP( final DUP obj ) {
    244    }
    245
    246
    247    @Override
    248    public void visitINVOKESTATIC( final INVOKESTATIC obj ) {
    249    }
    250
    251
    252    @Override
    253    public void visitLCONST( final LCONST obj ) {
    254    }
    255
    256
    257    @Override
    258    public void visitDREM( final DREM obj ) {
    259    }
    260
    261
    262    @Override
    263    public void visitIFGE( final IFGE obj ) {
    264    }
    265
    266
    267    @Override
    268    public void visitCALOAD( final CALOAD obj ) {
    269    }
    270
    271
    272    @Override
    273    public void visitLASTORE( final LASTORE obj ) {
    274    }
    275
    276
    277    @Override
    278    public void visitI2D( final I2D obj ) {
    279    }
    280
    281
    282    @Override
    283    public void visitDADD( final DADD obj ) {
    284    }
    285
    286
    287    @Override
    288    public void visitINVOKESPECIAL( final INVOKESPECIAL obj ) {
    289    }
    290
    291
    292    @Override
    293    public void visitIAND( final IAND obj ) {
    294    }
    295
    296
    297    @Override
    298    public void visitPUTFIELD( final PUTFIELD obj ) {
    299    }
    300
    301
    302    @Override
    303    public void visitILOAD( final ILOAD obj ) {
    304    }
    305
    306
    307    @Override
    308    public void visitDLOAD( final DLOAD obj ) {
    309    }
    310
    311
    312    @Override
    313    public void visitDCONST( final DCONST obj ) {
    314    }
    315
    316
    317    @Override
    318    public void visitNEW( final NEW obj ) {
    319    }
    320
    321
    322    @Override
    323    public void visitIFNULL( final IFNULL obj ) {
    324    }
    325
    326
    327    @Override
    328    public void visitLSUB( final LSUB obj ) {
    329    }
    330
    331
    332    @Override
    333    public void visitL2I( final L2I obj ) {
    334    }
    335
    336
    337    @Override
    338    public void visitISHR( final ISHR obj ) {
    339    }
    340
    341
    342    @Override
    343    public void visitTABLESWITCH( final TABLESWITCH obj ) {
    344    }
    345
    346
    347    @Override
    348    public void visitIINC( final IINC obj ) {
    349    }
    350
    351
    352    @Override
    353    public void visitDRETURN( final DRETURN obj ) {
    354    }
    355
    356
    357    @Override
    358    public void visitFSTORE( final FSTORE obj ) {
    359    }
    360
    361
    362    @Override
    363    public void visitDASTORE( final DASTORE obj ) {
    364    }
    365
    366
    367    @Override
    368    public void visitIALOAD( final IALOAD obj ) {
    369    }
    370
    371
    372    @Override
    373    public void visitDDIV( final DDIV obj ) {
    374    }
    375
    376
    377    @Override
    378    public void visitIF_ICMPGE( final IF_ICMPGE obj ) {
    379    }
    380
    381
    382    @Override
    383    public void visitLAND( final LAND obj ) {
    384    }
    385
    386
    387    @Override
    388    public void visitIDIV( final IDIV obj ) {
    389    }
    390
    391
    392    @Override
    393    public void visitLOR( final LOR obj ) {
    394    }
    395
    396
    397    @Override
    398    public void visitCASTORE( final CASTORE obj ) {
    399    }
    400
    401
    402    @Override
    403    public void visitFREM( final FREM obj ) {
    404    }
    405
    406
    407    @Override
    408    public void visitLDC( final LDC obj ) {
    409    }
    410
    411
    412    @Override
    413    public void visitBIPUSH( final BIPUSH obj ) {
    414    }
    415
    416
    417    @Override
    418    public void visitDSTORE( final DSTORE obj ) {
    419    }
    420
    421
    422    @Override
    423    public void visitF2L( final F2L obj ) {
    424    }
    425
    426
    427    @Override
    428    public void visitFMUL( final FMUL obj ) {
    429    }
    430
    431
    432    @Override
    433    public void visitLLOAD( final LLOAD obj ) {
    434    }
    435
    436
    437    @Override
    438    public void visitJSR( final JSR obj ) {
    439    }
    440
    441
    442    @Override
    443    public void visitFSUB( final FSUB obj ) {
    444    }
    445
    446
    447    @Override
    448    public void visitSASTORE( final SASTORE obj ) {
    449    }
    450
    451
    452    @Override
    453    public void visitALOAD( final ALOAD obj ) {
    454    }
    455
    456
    457    @Override
    458    public void visitDUP2_X2( final DUP2_X2 obj ) {
    459    }
    460
    461
    462    @Override
    463    public void visitRETURN( final RETURN obj ) {
    464    }
    465
    466
    467    @Override
    468    public void visitDALOAD( final DALOAD obj ) {
    469    }
    470
    471
    472    @Override
    473    public void visitSIPUSH( final SIPUSH obj ) {
    474    }
    475
    476
    477    @Override
    478    public void visitDSUB( final DSUB obj ) {
    479    }
    480
    481
    482    @Override
    483    public void visitL2F( final L2F obj ) {
    484    }
    485
    486
    487    @Override
    488    public void visitIF_ICMPGT( final IF_ICMPGT obj ) {
    489    }
    490
    491
    492    @Override
    493    public void visitF2D( final F2D obj ) {
    494    }
    495
    496
    497    @Override
    498    public void visitI2L( final I2L obj ) {
    499    }
    500
    501
    502    @Override
    503    public void visitIF_ACMPNE( final IF_ACMPNE obj ) {
    504    }
    505
    506
    507    @Override
    508    public void visitPOP( final POP obj ) {
    509    }
    510
    511
    512    @Override
    513    public void visitI2S( final I2S obj ) {
    514    }
    515
    516
    517    @Override
    518    public void visitIFEQ( final IFEQ obj ) {
    519    }
    520
    521
    522    @Override
    523    public void visitSWAP( final SWAP obj ) {
    524    }
    525
    526
    527    @Override
    528    public void visitIOR( final IOR obj ) {
    529    }
    530
    531
    532    @Override
    533    public void visitIREM( final IREM obj ) {
    534    }
    535
    536
    537    @Override
    538    public void visitIASTORE( final IASTORE obj ) {
    539    }
    540
    541
    542    @Override
    543    public void visitNEWARRAY( final NEWARRAY obj ) {
    544    }
    545
    546
    547    @Override
    548    public void visitINVOKEINTERFACE( final INVOKEINTERFACE obj ) {
    549    }
    550
    551
    552    @Override
    553    public void visitINEG( final INEG obj ) {
    554    }
    555
    556
    557    @Override
    558    public void visitLCMP( final LCMP obj ) {
    559    }
    560
    561
    562    @Override
    563    public void visitJSR_W( final JSR_W obj ) {
    564    }
    565
    566
    567    @Override
    568    public void visitMULTIANEWARRAY( final MULTIANEWARRAY obj ) {
    569    }
    570
    571
    572    @Override
    573    public void visitDUP_X2( final DUP_X2 obj ) {
    574    }
    575
    576
    577    @Override
    578    public void visitSALOAD( final SALOAD obj ) {
    579    }
    580
    581
    582    @Override
    583    public void visitIFNONNULL( final IFNONNULL obj ) {
    584    }
    585
    586
    587    @Override
    588    public void visitDMUL( final DMUL obj ) {
    589    }
    590
    591
    592    @Override
    593    public void visitIFNE( final IFNE obj ) {
    594    }
    595
    596
    597    @Override
    598    public void visitIF_ICMPLE( final IF_ICMPLE obj ) {
    599    }
    600
    601
    602    @Override
    603    public void visitLDC2_W( final LDC2_W obj ) {
    604    }
    605
    606
    607    @Override
    608    public void visitGETFIELD( final GETFIELD obj ) {
    609    }
    610
    611
    612    @Override
    613    public void visitLADD( final LADD obj ) {
    614    }
    615
    616
    617    @Override
    618    public void visitNOP( final NOP obj ) {
    619    }
    620
    621
    622    @Override
    623    public void visitFALOAD( final FALOAD obj ) {
    624    }
    625
    626
    627    @Override
    628    public void visitINSTANCEOF( final INSTANCEOF obj ) {
    629    }
    630
    631
    632    @Override
    633    public void visitIFLE( final IFLE obj ) {
    634    }
    635
    636
    637    @Override
    638    public void visitLXOR( final LXOR obj ) {
    639    }
    640
    641
    642    @Override
    643    public void visitLRETURN( final LRETURN obj ) {
    644    }
    645
    646
    647    @Override
    648    public void visitFCONST( final FCONST obj ) {
    649    }
    650
    651
    652    @Override
    653    public void visitIUSHR( final IUSHR obj ) {
    654    }
    655
    656
    657    @Override
    658    public void visitBALOAD( final BALOAD obj ) {
    659    }
    660
    661
    662    @Override
    663    public void visitDUP2( final DUP2 obj ) {
    664    }
    665
    666
    667    @Override
    668    public void visitIF_ACMPEQ( final IF_ACMPEQ obj ) {
    669    }
    670
    671
    672    @Override
    673    public void visitIMPDEP1( final IMPDEP1 obj ) {
    674    }
    675
    676
    677    @Override
    678    public void visitMONITORENTER( final MONITORENTER obj ) {
    679    }
    680
    681
    682    @Override
    683    public void visitLSHL( final LSHL obj ) {
    684    }
    685
    686
    687    @Override
    688    public void visitDCMPG( final DCMPG obj ) {
    689    }
    690
    691
    692    @Override
    693    public void visitD2L( final D2L obj ) {
    694    }
    695
    696
    697    @Override
    698    public void visitIMPDEP2( final IMPDEP2 obj ) {
    699    }
    700
    701
    702    @Override
    703    public void visitL2D( final L2D obj ) {
    704    }
    705
    706
    707    @Override
    708    public void visitRET( final RET obj ) {
    709    }
    710
    711
    712    @Override
    713    public void visitIFGT( final IFGT obj ) {
    714    }
    715
    716
    717    @Override
    718    public void visitIXOR( final IXOR obj ) {
    719    }
    720
    721
    722    @Override
    723    public void visitINVOKEVIRTUAL( final INVOKEVIRTUAL obj ) {
    724    }
    725
    726
    727    @Override
    728    public void visitFASTORE( final FASTORE obj ) {
    729    }
    730
    731
    732    @Override
    733    public void visitIRETURN( final IRETURN obj ) {
    734    }
    735
    736
    737    @Override
    738    public void visitIF_ICMPNE( final IF_ICMPNE obj ) {
    739    }
    740
    741
    742    @Override
    743    public void visitFLOAD( final FLOAD obj ) {
    744    }
    745
    746
    747    @Override
    748    public void visitLDIV( final LDIV obj ) {
    749    }
    750
    751
    752    @Override
    753    public void visitPUTSTATIC( final PUTSTATIC obj ) {
    754    }
    755
    756
    757    @Override
    758    public void visitAALOAD( final AALOAD obj ) {
    759    }
    760
    761
    762    @Override
    763    public void visitD2I( final D2I obj ) {
    764    }
    765
    766
    767    @Override
    768    public void visitIF_ICMPEQ( final IF_ICMPEQ obj ) {
    769    }
    770
    771
    772    @Override
    773    public void visitAASTORE( final AASTORE obj ) {
    774    }
    775
    776
    777    @Override
    778    public void visitARETURN( final ARETURN obj ) {
    779    }
    780
    781
    782    @Override
    783    public void visitDUP2_X1( final DUP2_X1 obj ) {
    784    }
    785
    786
    787    @Override
    788    public void visitFNEG( final FNEG obj ) {
    789    }
    790
    791
    792    @Override
    793    public void visitGOTO_W( final GOTO_W obj ) {
    794    }
    795
    796
    797    @Override
    798    public void visitD2F( final D2F obj ) {
    799    }
    800
    801
    802    @Override
    803    public void visitGOTO( final GOTO obj ) {
    804    }
    805
    806
    807    @Override
    808    public void visitISUB( final ISUB obj ) {
    809    }
    810
    811
    812    @Override
    813    public void visitF2I( final F2I obj ) {
    814    }
    815
    816
    817    @Override
    818    public void visitDNEG( final DNEG obj ) {
    819    }
    820
    821
    822    @Override
    823    public void visitICONST( final ICONST obj ) {
    824    }
    825
    826
    827    @Override
    828    public void visitFDIV( final FDIV obj ) {
    829    }
    830
    831
    832    @Override
    833    public void visitI2B( final I2B obj ) {
    834    }
    835
    836
    837    @Override
    838    public void visitLNEG( final LNEG obj ) {
    839    }
    840
    841
    842    @Override
    843    public void visitLREM( final LREM obj ) {
    844    }
    845
    846
    847    @Override
    848    public void visitIMUL( final IMUL obj ) {
    849    }
    850
    851
    852    @Override
    853    public void visitIADD( final IADD obj ) {
    854    }
    855
    856
    857    @Override
    858    public void visitLSHR( final LSHR obj ) {
    859    }
    860
    861
    862    @Override
    863    public void visitLOOKUPSWITCH( final LOOKUPSWITCH obj ) {
    864    }
    865
    866
    867    @Override
    868    public void visitDUP_X1( final DUP_X1 obj ) {
    869    }
    870
    871
    872    @Override
    873    public void visitFCMPL( final FCMPL obj ) {
    874    }
    875
    876
    877    @Override
    878    public void visitI2C( final I2C obj ) {
    879    }
    880
    881
    882    @Override
    883    public void visitLMUL( final LMUL obj ) {
    884    }
    885
    886
    887    @Override
    888    public void visitLUSHR( final LUSHR obj ) {
    889    }
    890
    891
    892    @Override
    893    public void visitISHL( final ISHL obj ) {
    894    }
    895
    896
    897    @Override
    898    public void visitLALOAD( final LALOAD obj ) {
    899    }
    900
    901
    902    @Override
    903    public void visitASTORE( final ASTORE obj ) {
    904    }
    905
    906
    907    @Override
    908    public void visitANEWARRAY( final ANEWARRAY obj ) {
    909    }
    910
    911
    912    @Override
    913    public void visitFRETURN( final FRETURN obj ) {
    914    }
    915
    916
    917    @Override
    918    public void visitFADD( final FADD obj ) {
    919    }
    920
    921
    922    @Override
    923    public void visitBREAKPOINT( final BREAKPOINT obj ) {
    924    }
    925
    926    /**
    927     * @since 6.0
    928     */
    929    @Override
    930    public void visitINVOKEDYNAMIC(final INVOKEDYNAMIC obj) {
    931    }
    932}