Main Page   Packages   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members  

ACONST_NULL.java

00001 package de.fub.bytecode.generic;
00002 
00003 /** 
00004  * ACONST_NULL - Push null reference
00005  * <PRE>Stack: ... -&gt; ..., null</PRE>
00006  *
00007  * @version $Id: ACONST_NULL.java,v 1.1.1.1 2002/01/24 03:41:38 pserver Exp $
00008  * @author  <A HREF="http://www.inf.fu-berlin.de/~dahm">M. Dahm</A>
00009  */
00010 public class ACONST_NULL extends Instruction
00011   implements PushInstruction, TypedInstruction {
00012   /** 
00013    * Push null reference
00014    */
00015   public ACONST_NULL() {
00016     super(de.fub.bytecode.Constants.ACONST_NULL, (short)1);
00017   }  
00018   /**
00019    * Call corresponding visitor method(s). The order is:
00020    * Call visitor methods of implemented interfaces first, then
00021    * call methods according to the class hierarchy in descending order,
00022    * i.e., the most specific visitXXX() call comes last.
00023    *
00024    * @param v Visitor object
00025    */
00026   public void accept(Visitor v) {
00027     v.visitStackProducer(this);
00028     v.visitPushInstruction(this);
00029     v.visitTypedInstruction(this);
00030     v.visitACONST_NULL(this);
00031   }  
00032   /** @return Type.NULL
00033    */
00034   public Type getType(ConstantPoolGen cp) {
00035     return Type.NULL;
00036   }  
00037 }

Generated at Thu Feb 7 06:37:04 2002 for Bandera by doxygen1.2.10 written by Dimitri van Heesch, © 1997-2001