Class LOOKUPSWITCH
java.lang.Object
de.uzl.its.swat.symbolic.instruction.Instruction
de.uzl.its.swat.symbolic.instruction.LOOKUPSWITCH
- All Implemented Interfaces:
Serializable
LOOKUPSWITCH - Access jump table by key match 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
ConstructorDescriptionLOOKUPSWITCH
(int iid, int mid, int dflt, int[] keys, int[] labels) Creates a new LOOKUPSWITCH instruction. -
Method Summary
Methods inherited from class de.uzl.its.swat.symbolic.instruction.Instruction
genericToString
-
Field Details
-
dflt
public int dflt -
keys
public int[] keys -
labels
public int[] labels
-
-
Constructor Details
-
LOOKUPSWITCH
public LOOKUPSWITCH(int iid, int mid, int dflt, int[] keys, int[] labels) Creates a new LOOKUPSWITCH instruction.- Parameters:
iid
- instruction id.mid
- method id.dflt
- beginning of the default handler block.keys
- the values of the keys.labels
- beginnings of the handler blocks.
-
-
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.
-