public class SwitchInstruction extends Instruction
| Modifier and Type | Class and Description |
|---|---|
class |
SwitchInstruction.Target
This class encapsulates SwitchInstructions key-target pair.
|
| Modifier and Type | Method and Description |
|---|---|
byte[] |
getBytes()
Gets the bytes of this instruction.
|
Instruction |
getDefault()
Get the default Instruction of this SwitchInstruction.
|
SwitchInstruction.Target[] |
getTargets()
Gets all the targets of this SwitchInstruction.
|
String |
toString() |
getAttribute, getBranchParent, getOffset, getOpcode, isBranchTarget, length, setAttribute, setAttribute, setBytes, setOffset, stackConsumption, stackUsagepublic Instruction getDefault()
public SwitchInstruction.Target[] getTargets()
public String toString()
toString in class Instructionpublic byte[] getBytes()
InstructiongetBytes in class InstructionCopyright © 2017. All rights reserved.