Class IINC
java.lang.Object
de.uzl.its.swat.symbolic.instruction.Instruction
de.uzl.its.swat.symbolic.instruction.IINC
- All Implemented Interfaces:
Serializable
IINC - Increment local variable by constant. 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
ConstructorDescriptionIINC
(int iid, int mid, int var, int increment) Creates a new IINC instruction. -
Method Summary
Methods inherited from class de.uzl.its.swat.symbolic.instruction.Instruction
genericToString
-
Field Details
-
var
public int var -
increment
public int increment
-
-
Constructor Details
-
IINC
public IINC(int iid, int mid, int var, int increment) Creates a new IINC instruction.- Parameters:
iid
- instruction id.mid
- method id.var
- the local variable index.increment
- the increment amount.
-
-
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.
-