|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--de.fub.bytecode.generic.Instruction | +--de.fub.bytecode.generic.BranchInstruction | +--de.fub.bytecode.generic.JsrInstruction | +--de.fub.bytecode.generic.JSR
JSR - Jump to subroutine
Fields inherited from class de.fub.bytecode.generic.BranchInstruction |
index, position, target |
Fields inherited from class de.fub.bytecode.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 de.fub.bytecode.generic.JsrInstruction |
getType, physicalSuccessor |
Methods inherited from class de.fub.bytecode.generic.BranchInstruction |
containsTarget, getIndex, getTarget, getTargetOffset, getTargetOffset, initFromFile, setTarget, toString, updateTarget |
Methods inherited from class de.fub.bytecode.generic.Instruction |
consumeStack, consumeStack, copy, getLength, getOpcode, getTag, produceStack, produceStack, readInstruction, toString, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface de.fub.bytecode.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 streamprotected int updatePosition(int offset, int max_offset)
BranchInstruction
updatePosition
in class BranchInstruction
de.fub.bytecode.generic.BranchInstruction
offset
- additional offset caused by preceding (variable length) instructionsmax_offset
- the maximum offset that may be caused by these instructionspublic void accept(Visitor v)
accept
in class Instruction
v
- Visitor object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |