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