InstructionTargeter
, StackConsumer
, VariableLengthInstruction
public class LOOKUPSWITCH extends Select
SWITCH
,
Serialized Formindex, position, target
length, opcode
fixed_length, indices, match, match_length, padding, targets
Constructor | Description |
---|---|
LOOKUPSWITCH(int[] match,
InstructionHandle[] targets,
InstructionHandle defaultTarget) |
Modifier and Type | Method | Description |
---|---|---|
void |
accept(Visitor v) |
Call corresponding visitor method(s).
|
void |
dump(java.io.DataOutputStream out) |
Dump instruction as byte code to stream out.
|
protected void |
initFromFile(ByteSequence bytes,
boolean wide) |
Read needed data (e.g.
|
getIndex, getTarget, getTargetOffset, getTargetOffset, setTarget
consumeStack, copy, equals, getComparator, getLength, getName, getOpcode, hashCode, produceStack, readInstruction, setComparator, toString, toString
finalize, getClass, notify, notifyAll, wait, wait, wait
clone, containsTarget, getIndices, getMatchs, getTargets, setTarget, toString, updatePosition, updateTarget
consumeStack
public LOOKUPSWITCH(int[] match, InstructionHandle[] targets, InstructionHandle defaultTarget)
public void dump(java.io.DataOutputStream out) throws java.io.IOException
protected void initFromFile(ByteSequence bytes, boolean wide) throws java.io.IOException
initFromFile
in class Select
bytes
- input streamwide
- wide prefix?java.io.IOException
- may be thrown if the implementation needs to read data from the fileInstructionList
public void accept(Visitor v)
accept
in class Instruction
v
- Visitor object