| Modifier and Type | Field and Description |
|---|---|
| public int | var
The operand of this instruction. |
| Access | Constructor and Description |
|---|---|
| public | VarInsnNode(final int
the opcode of the local variable instruction to be constructed. This opcode must
be ILOAD, LLOAD, FLOAD, DLOAD, ALOAD, ISTORE, LSTORE, FSTORE, DSTORE, ASTORE or RET. opcode, final int the operand of the instruction to be constructed. This operand is the index of
a local variable. varIndex)Constructs a new |
| Modifier and Type | Method and Description |
|---|---|
| public void | accept(final MethodVisitor
a method visitor. methodVisitor)Implements abstract org. |
| public AbstractInsnNode | clone(final Map<LabelNode, LabelNode>
a map from LabelNodes to cloned LabelNodes. clonedLabels)Implements abstract org. |
| public int | getType()
Implements abstract org. |
| public void | setOpcode(final int
the new instruction opcode. This opcode must be ILOAD, LLOAD, FLOAD, DLOAD,
ALOAD, ISTORE, LSTORE, FSTORE, DSTORE, ASTORE or RET. opcode)Sets the opcode of this instruction. |
| var | back to summary |
|---|---|
| public int var The operand of this instruction. This operand is the index of a local variable. | |
| VarInsnNode | back to summary |
|---|---|
| public VarInsnNode(final int opcode, final int varIndex) Constructs a new
| |
| accept | back to summary |
|---|---|
| public void accept(final MethodVisitor methodVisitor) Implements abstract org. Doc from org. Makes the given method visitor visit this instruction.
| |
| clone | back to summary |
|---|---|
| public AbstractInsnNode clone(final Map<LabelNode, LabelNode> clonedLabels) Implements abstract org. Doc from org. Returns a copy of this instruction. | |
| getType | back to summary |
|---|---|
| public int getType() Implements abstract org. Doc from org. Returns the type of this instruction.
| |
| setOpcode | back to summary |
|---|---|
| public void setOpcode(final int opcode) Sets the opcode of this instruction.
| |