|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.apache.bcel.generic.Instruction | +--org.apache.bcel.generic.BranchInstruction | +--org.apache.bcel.generic.JsrInstruction | +--org.apache.bcel.generic.JSR
JSR - Jump to subroutine
Field Summary |
Fields inherited from class org.apache.bcel.generic.BranchInstruction |
index, position, target |
Fields inherited from class org.apache.bcel.generic.Instruction |
length, opcode |
Constructor Summary | |
JSR(InstructionHandle target)
|
Method Summary | |
void |
accept(Visitor v)
Call corresponding visitor method(s). |
void |
dump(java.io.DataOutputStream out)
Dump instruction as byte code to stream out. |
protected int |
updatePosition(int offset,
int max_offset)
Called by InstructionList.setPositions when setting the position for every instruction. |
Methods inherited from class org.apache.bcel.generic.JsrInstruction |
getType, physicalSuccessor |
Methods inherited from class org.apache.bcel.generic.BranchInstruction |
containsTarget, getIndex, getTarget, getTargetOffset, getTargetOffset, initFromFile, setTarget, toString, updateTarget |
Methods inherited from class org.apache.bcel.generic.Instruction |
consumeStack, copy, equals, getComparator, getLength, getName, getOpcode, produceStack, readInstruction, setComparator, toString, toString |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface org.apache.bcel.generic.StackProducer |
produceStack |
Constructor Detail |
public JSR(InstructionHandle target)
Method Detail |
public void dump(java.io.DataOutputStream out) throws java.io.IOException
dump
in class BranchInstruction
out
- Output stream
java.io.IOException
protected int updatePosition(int offset, int max_offset)
BranchInstruction
updatePosition
in class BranchInstruction
offset
- additional offset caused by preceding (variable length) instructionsmax_offset
- the maximum offset that may be caused by these instructions
public void accept(Visitor v)
accept
in class Instruction
v
- Visitor object
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |