View Javadoc

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