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