public class IincInsnNode extends AbstractInsnNode
Modifier and Type | Field and Description |
---|---|
int |
incr
Amount to increment the local variable by.
|
int |
var
Index of the local variable to be incremented.
|
opcode
Constructor and Description |
---|
IincInsnNode(int var,
int incr)
Constructs a new
IincInsnNode node. |
Modifier and Type | Method and Description |
---|---|
void |
accept(CodeVisitor cv)
Makes the given code visitor visit this instruction.
|
getOpcode
public int var
public int incr
public IincInsnNode(int var, int incr)
IincInsnNode
node.var
- index of the local variable to be incremented.incr
- increment amount to increment the local variable by.public void accept(CodeVisitor cv)
AbstractInsnNode
accept
in class AbstractInsnNode
cv
- a code visitor.Copyright © 2021. All rights reserved.