public class LOOKUPSWITCH extends Select
SWITCHfixed_length, indices, match, match_length, padding, targetsindex, position, targetlength, opcode| Constructor and Description |
|---|
LOOKUPSWITCH()
Empty constructor needed for Instruction.readInstruction.
|
LOOKUPSWITCH(int[] match,
InstructionHandle[] targets,
InstructionHandle defaultTarget) |
| Modifier and Type | Method and 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.
|
clone, containsTarget, dispose, getFixed_length, getIndices, getIndices, getMatch_length, getMatch, getMatchs, getPadding, getTarget, getTargets, setFixed_length, setIndices, setIndices, setMatch_length, setMatch, setMatches, setTarget, setTargets, toString, updatePosition, updateTargetgetIndex, getPosition, getTarget, getTargetOffset, getTargetOffset, notifyTarget, setIndex, setPosition, setTargetconsumeStack, copy, equals, getComparator, getLength, getName, getOpcode, hashCode, isValidByte, isValidShort, produceStack, readInstruction, setComparator, setLength, setOpcode, toString, toStringfinalize, getClass, notify, notifyAll, wait, wait, waitconsumeStackproduceStackLOOKUPSWITCH()
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 Selectbytes - input streamwide - wide prefix?java.io.IOException - may be thrown if the implementation needs to read data from the fileInstructionListpublic void accept(Visitor v)
accept in class Instructionv - Visitor object