org.objectweb.asm.tree
Class IincInsnNode

java.lang.Object
  extended by org.objectweb.asm.tree.AbstractInsnNode
      extended by 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.
 
Fields inherited from class org.objectweb.asm.tree.AbstractInsnNode
opcode
 
Constructor Summary
IincInsnNode(int var, int incr)
          Constructs a new IincInsnNode node.
 
Method Summary
 void accept(CodeVisitor cv)
          Makes the given code visitor visit this instruction.
 
Methods inherited from class org.objectweb.asm.tree.AbstractInsnNode
getOpcode
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

var

public int var
Index of the local variable to be incremented.


incr

public int incr
Amount to increment the local variable by.

Constructor Detail

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.
Method Detail

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.