org.apache.bcel.generic

Class IfInstruction

public abstract class IfInstruction extends BranchInstruction implements StackConsumer

Super class for the IFxxx family of instructions.

Version: $Id: IfInstruction.java 386056 2006-03-15 11:31:56Z tcurdt $

Author: M. Dahm

Constructor Summary
protected IfInstruction(short opcode, InstructionHandle target)
Method Summary
abstract IfInstructionnegate()

Constructor Detail

IfInstruction

protected IfInstruction(short opcode, InstructionHandle target)

Parameters: opcode opcode of instruction target Target instruction to branch to

Method Detail

negate

public abstract IfInstruction negate()

Returns: negation of instruction, e.g. IFEQ.negate() == IFNE

Copyright © 2004-2007 The Apache Software Foundation. All Rights Reserved.