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