org.objectweb.asm.tree
Class IincInsnNode
public class IincInsnNode
A node that represents an IINC instruction.
- Eric Bruneton
int | incr - Amount to increment the local variable by.
|
int | var - Index of the local variable to be incremented.
|
FIELD_INSN , IINC_INSN , INSN , INT_INSN , JUMP_INSN , LABEL , LDC_INSN , LOOKUPSWITCH_INSN , METHOD_INSN , MULTIANEWARRAY_INSN , TABLESWITCH_INSN , TYPE_INSN , VAR_INSN , opcode |
void | accept(MethodVisitor mv) - Makes the given code visitor visit this instruction.
|
int | getType() - Returns the type of this instruction.
|
incr
public int incr
Amount to increment the local variable by.
var
public int var
Index of the local variable to be incremented.
IincInsnNode
public IincInsnNode(int var,
int incr)
var
- index of the local variable to be incremented.incr
- increment amount to increment the local variable by.
getType
public int getType()
Returns the type of this instruction.
- getType in interface AbstractInsnNode
- the type of this instruction, i.e. one the constants defined in
this class.