00001 package de.fub.bytecode.generic; 00002 00003 /** 00004 * IFNE - Branch if int comparison with zero succeeds 00005 * 00006 * <PRE>Stack: ..., value -> ...</PRE> 00007 * 00008 * @version $Id: IFNE.java,v 1.1.1.1 2002/01/24 03:44:06 pserver Exp $ 00009 * @author <A HREF="http://www.inf.fu-berlin.de/~dahm">M. Dahm</A> 00010 */ 00011 public class IFNE extends IfInstruction { 00012 /** 00013 * Empty constructor needed for the Class.newInstance() statement in 00014 * Instruction.readInstruction(). Not to be used otherwise. 00015 */ 00016 IFNE() {} 00017 public IFNE(InstructionHandle target) { 00018 super(IFNE, target); 00019 } 00020 /** 00021 * @return negation of instruction 00022 */ 00023 public IfInstruction negate() { 00024 return new IFEQ(target); 00025 } 00026 }