org.objectweb.asm.tree
public class VarInsnNode extends AbstractInsnNode
Field Summary | |
---|---|
int | var
The operand of this instruction. |
Constructor Summary | |
---|---|
VarInsnNode(int opcode, int var)
Constructs a new VarInsnNode.
|
Method Summary | |
---|---|
void | accept(MethodVisitor mv) |
AbstractInsnNode | clone(Map labels) |
int | getType() |
void | setOpcode(int opcode)
Sets the opcode of this instruction.
|
Parameters: opcode 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. var the operand of the instruction to be constructed. This operand is the index of a local variable.
Parameters: opcode the new instruction opcode. This opcode must be ILOAD, LLOAD, FLOAD, DLOAD, ALOAD, ISTORE, LSTORE, FSTORE, DSTORE, ASTORE or RET.