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

IFGE.java

00001 package de.fub.bytecode.generic;
00002 
00003 /** 
00004  * IFGE - Branch if int comparison with zero succeeds
00005  *
00006  * <PRE>Stack: ..., value -&gt; ...</PRE>
00007  *
00008  * @version $Id: IFGE.java,v 1.1.1.1 2002/01/24 03:41:40 pserver Exp $
00009  * @author  <A HREF="http://www.inf.fu-berlin.de/~dahm">M. Dahm</A>
00010  */
00011 public class IFGE extends IfInstruction {
00012   /**
00013    * Empty constructor needed for the Class.newInstance() statement in
00014    * Instruction.readInstruction(). Not to be used otherwise.
00015    */
00016   IFGE() {}  
00017   public IFGE(InstructionHandle target) {
00018     super(de.fub.bytecode.Constants.IFGE, target);
00019   }  
00020   /**
00021    * Call corresponding visitor method(s). The order is:
00022    * Call visitor methods of implemented interfaces first, then
00023    * call methods according to the class hierarchy in descending order,
00024    * i.e., the most specific visitXXX() call comes last.
00025    *
00026    * @param v Visitor object
00027    */
00028   public void accept(Visitor v) {
00029     v.visitStackConsumer(this);
00030     v.visitInstructionTargeter(this);
00031     v.visitBranchInstruction(this);
00032     v.visitIfInstruction(this);
00033     v.visitIFGE(this);
00034   }  
00035   /**
00036    * @return negation of instruction
00037    */
00038   public IfInstruction negate() {
00039     return new IFLT(target);
00040   }  
00041 }

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