|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.bcel.generic.Instruction
org.apache.bcel.generic.BranchInstruction
org.apache.bcel.generic.JsrInstruction
org.apache.bcel.generic.JSR
public class 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()
Empty constructor needed for the Class.newInstance() statement in Instruction.readInstruction(). |
|
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, dispose, getIndex, getTarget, getTargetOffset, getTargetOffset, initFromFile, notifyTarget, 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 |
|---|
JSR()
public JSR(InstructionHandle target)
| Method Detail |
|---|
public void dump(java.io.DataOutputStream out)
throws java.io.IOException
dump in class BranchInstructionout - Output stream
java.io.IOException
protected int updatePosition(int offset,
int max_offset)
BranchInstruction
updatePosition in class BranchInstructionoffset - 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 Instructionv - Visitor object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||