Class TABLESWITCH
java.lang.Object
de.uzl.its.swat.symbolic.instruction.Instruction
de.uzl.its.swat.symbolic.instruction.TABLESWITCH
- All Implemented Interfaces:
Serializable
TABLESWITCH - Access jump table by index and jump. For more information see the Java
VM specification.
- See Also:
-
Field Summary
Fields inherited from class de.uzl.its.swat.symbolic.instruction.Instruction
iid, mid
-
Constructor Summary
ConstructorDescriptionTABLESWITCH
(int iid, int mid, int min, int max, int dflt, int[] labels, int[] values) Creates a new TABLESWITCH instruction. -
Method Summary
Methods inherited from class de.uzl.its.swat.symbolic.instruction.Instruction
genericToString
-
Field Details
-
min
public int min -
max
public int max -
dflt
public int dflt -
labels
public int[] labels -
values
public int[] values
-
-
Constructor Details
-
TABLESWITCH
public TABLESWITCH(int iid, int mid, int min, int max, int dflt, int[] labels, int[] values) Creates a new TABLESWITCH instruction.- Parameters:
iid
- instruction id.mid
- method id.min
- min value.max
- max value.dflt
- the default jump label.labels
- the conditional jump labels.values
- the conditions/ keys.
-
-
Method Details
-
accept
Accept method for the visitor.- Specified by:
accept
in classInstruction
- Parameters:
visitor
- the visitor
-
toString
Returns the string representation of the instruction.
-