org.apache.bcel.generic
Class JsrInstruction
- Cloneable, InstructionTargeter, Serializable, StackProducer, TypedInstruction, UnconditionalBranch
public abstract class JsrInstruction
Super class for JSR - Jump to subroutine
$Id: JsrInstruction.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 |
JsrInstruction
(package private) JsrInstruction()
Empty constructor needed for the Class.newInstance() statement in
Instruction.readInstruction(). Not to be used otherwise.
JsrInstruction
(package private) JsrInstruction(short opcode,
InstructionHandle target)
Common super constructor
opcode
- Instruction opcodetarget
- instruction to branch to
physicalSuccessor
public InstructionHandle physicalSuccessor()
Returns an InstructionHandle to the physical successor
of this JsrInstruction. For this method to work,
this JsrInstruction object must not be shared between
multiple InstructionHandle objects!
Formally, there must not be InstructionHandle objects
i, j where i != j and i.getInstruction() == this ==
j.getInstruction().
- an InstructionHandle to the "next" instruction that
will be executed when RETurned from a subroutine.