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

IfInstruction.java

00001 package de.fub.bytecode.generic;
00002 
00003 /**
00004  * Super class for the IFxxx family of instructions.
00005  *
00006  * @version $Id: IfInstruction.java,v 1.1.1.1 2002/01/24 03:41:40 pserver Exp $
00007  * @author  <A HREF="http://www.inf.fu-berlin.de/~dahm">M. Dahm</A>
00008  */
00009 public abstract class IfInstruction extends BranchInstruction implements StackConsumer {
00010   /**
00011    * Empty constructor needed for the Class.newInstance() statement in
00012    * Instruction.readInstruction(). Not to be used otherwise.
00013    */
00014   IfInstruction() {}  
00015   /**
00016    * @param instruction Target instruction to branch to
00017    */
00018   protected IfInstruction(short tag, InstructionHandle target) {
00019     super(tag, target);
00020   }  
00021   /**
00022    * @return negation of instruction, e.g. IFEQ.negate() == IFNE
00023    */
00024   public abstract IfInstruction negate();  
00025 }

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