public class JSR extends JsrInstruction implements VariableLengthInstruction
index, position, targetlength, 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 maxOffset)
Called by InstructionList.setPositions when setting the position for every instruction.
|
getType, physicalSuccessorcontainsTarget, getIndex, getPosition, getTarget, getTargetOffset, getTargetOffset, initFromFile, setIndex, setPosition, setTarget, toString, updateTargetconsumeStack, copy, equals, getComparator, getLength, getName, getOpcode, hashCode, isValidByte, isValidShort, produceStack, readInstruction, setComparator, toString, toStringclone, finalize, getClass, notify, notifyAll, wait, wait, waitproduceStackpublic JSR(InstructionHandle target)
public void accept(Visitor v)
accept in class Instructionv - Visitor objectpublic void dump(DataOutputStream out) throws IOException
dump in class BranchInstructionout - Output streamIOExceptionprotected int updatePosition(int offset, int maxOffset)
BranchInstructionupdatePosition in class BranchInstructionoffset - additional offset caused by preceding (variable length) instructionsmaxOffset - the maximum offset that may be caused by these instructionsCopyright © 2004–2022 The Apache Software Foundation. All rights reserved.