org.objectweb.asm.tree
Class IincInsnNode
java.lang.Object
org.objectweb.asm.tree.AbstractInsnNode
org.objectweb.asm.tree.IincInsnNode
public class IincInsnNode
- extends AbstractInsnNode
A node that represents an IINC instruction.
- Author:
- Eric Bruneton
|
Field Summary |
int |
incr
Amount to increment the local variable by. |
int |
var
Index of the local variable to be incremented. |
|
Method Summary |
void |
accept(CodeVisitor cv)
Makes the given code visitor visit this instruction. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
var
public int var
- Index of the local variable to be incremented.
incr
public int incr
- Amount to increment the local variable by.
IincInsnNode
public IincInsnNode(int var,
int incr)
- Constructs a new
IincInsnNode node.
- Parameters:
var - index of the local variable to be incremented.incr - increment amount to increment the local variable by.
accept
public void accept(CodeVisitor cv)
- Description copied from class:
AbstractInsnNode
- Makes the given code visitor visit this instruction.
- Specified by:
accept in class AbstractInsnNode
- Parameters:
cv - a code visitor.