public abstract class SwitchInstruction extends Instruction
| Modifier and Type | Field and Description |
|---|---|
int |
defaultOffset |
int[] |
jumpOffsets |
opcode| Constructor and Description |
|---|
SwitchInstruction()
Creates an uninitialized SwitchInstruction.
|
SwitchInstruction(byte opcode,
int defaultOffset,
int[] jumpOffsets)
Creates a new SwitchInstruction with the given arguments.
|
| Modifier and Type | Method and Description |
|---|---|
SwitchInstruction |
copy(SwitchInstruction switchInstruction)
Copies the given instruction into this instruction.
|
String |
toString() |
String |
toString(int offset)
Returns a description of the instruction, at the given offset.
|
accept, canonicalOpcode, getName, isCategory2, isWide, length, mayThrowExceptions, readByte, readInfo, readInt, readShort, readSignedByte, readSignedShort, readSignedValue, readValue, shrink, stackPopCount, stackPushCount, write, write, writeByte, writeInfo, writeInt, writeShort, writeSignedByte, writeSignedShort, writeSignedValue, writeValuepublic SwitchInstruction()
public SwitchInstruction(byte opcode,
int defaultOffset,
int[] jumpOffsets)
public SwitchInstruction copy(SwitchInstruction switchInstruction)
switchInstruction - the instruction to be copied.public String toString(int offset)
InstructiontoString in class InstructionCopyright © 2015. All Rights Reserved.