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