org.apache.bcel.generic
public abstract class IfInstruction extends BranchInstruction implements StackConsumer
index, position, target
length, opcode
Modifier | Constructor and Description |
---|---|
(package private) |
IfInstruction()
Empty constructor needed for the Class.newInstance() statement in
Instruction.readInstruction().
|
protected |
IfInstruction(short opcode,
InstructionHandle target) |
Modifier and Type | Method and Description |
---|---|
abstract IfInstruction |
negate() |
containsTarget, dispose, dump, getIndex, getTarget, getTargetOffset, getTargetOffset, initFromFile, notifyTarget, setTarget, toString, updatePosition, updateTarget
accept, consumeStack, copy, equals, getComparator, getLength, getName, getOpcode, produceStack, readInstruction, setComparator, toString, toString
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
consumeStack
IfInstruction()
protected IfInstruction(short opcode, InstructionHandle target)
opcode
- opcode of instructiontarget
- Target instruction to branch topublic abstract IfInstruction negate()