public class JSR extends JsrInstruction implements VariableLengthInstruction
index, position, target
length, opcode
Constructor and Description |
---|
JSR(InstructionHandle target) |
Modifier and Type | Method and Description |
---|---|
void |
accept(Visitor v)
Call corresponding visitor method(s).
|
void |
dump(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.
|
getType, physicalSuccessor
containsTarget, getIndex, getPosition, getTarget, getTargetOffset, getTargetOffset, initFromFile, setIndex, setPosition, setTarget, toString, updateTarget
consumeStack, copy, equals, getComparator, getLength, getName, getOpcode, hashCode, isValidByte, isValidShort, produceStack, readInstruction, setComparator, toString, toString
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
produceStack
public JSR(InstructionHandle target)
public void dump(DataOutputStream out) throws IOException
dump
in class BranchInstruction
out
- Output streamIOException
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 instructionspublic void accept(Visitor v)
accept
in class Instruction
v
- Visitor objectCopyright © 2004–2019 The Apache Software Foundation. All rights reserved.