org.apache.bcel.generic
Class IfInstruction
- Cloneable, InstructionTargeter, Serializable, StackConsumer
public abstract class IfInstruction
Super class for the IFxxx family of instructions.
$Id: IfInstruction.java 386056 2006-03-15 11:31:56Z tcurdt $
containsTarget , dispose , dump , getIndex , getTarget , getTargetOffset , getTargetOffset , initFromFile , notifyTarget , setTarget , toString , updatePosition , updateTarget |
accept , className , consumeStack , copy , dispose , dump , equals , getComparator , getLength , getName , getOpcode , initFromFile , produceStack , readInstruction , setComparator , setOpcode , toString , toString , toString |
IfInstruction
(package private) IfInstruction()
Empty constructor needed for the Class.newInstance() statement in
Instruction.readInstruction(). Not to be used otherwise.
IfInstruction
protected IfInstruction(short opcode,
InstructionHandle target)
opcode
- opcode of instructiontarget
- Target instruction to branch to
negate
public abstract IfInstruction negate()
- negation of instruction, e.g. IFEQ.negate() == IFNE