Class IincInsnNode


  • public class IincInsnNode
    extends AbstractInsnNode
    A node that represents an IINC instruction.
    • 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.
        Parameters:
        var - index of the local variable to be incremented.
        incr - increment amount to increment the local variable by.
    • Method Detail

      • getType

        public int getType()
        Description copied from class: AbstractInsnNode
        Returns the type of this instruction.
        Specified by:
        getType in class AbstractInsnNode
        Returns:
        the type of this instruction, i.e. one the constants defined in this class.
      • accept

        public void accept​(org.objectweb.asm.MethodVisitor methodVisitor)
        Description copied from class: AbstractInsnNode
        Makes the given method visitor visit this instruction.
        Specified by:
        accept in class AbstractInsnNode
        Parameters:
        methodVisitor - a method visitor.