| java.lang.Object com.tc.asm.tree.AbstractInsnNode com.tc.asm.tree.VarInsnNode
VarInsnNode | public class VarInsnNode extends AbstractInsnNode (Code) | | A node that represents a local variable instruction. A local variable
instruction is an instruction that loads or stores the value of a local
variable.
author: Eric Bruneton |
Field Summary | |
public int | var The operand of this instruction. |
Constructor Summary | |
public | VarInsnNode(int opcode, int var) Constructs a new
VarInsnNode .
Parameters: opcode - the opcode of the local variable instruction to beconstructed. |
var | public int var(Code) | | The operand of this instruction. This operand is the index of a local
variable.
|
VarInsnNode | public VarInsnNode(int opcode, int var)(Code) | | Constructs a new
VarInsnNode .
Parameters: opcode - the opcode of the local variable instruction to beconstructed. This opcode must be ILOAD, LLOAD, FLOAD, DLOAD,ALOAD, ISTORE, LSTORE, FSTORE, DSTORE, ASTORE or RET. Parameters: var - the operand of the instruction to be constructed. This operandis the index of a local variable. |
getType | public int getType()(Code) | | |
setOpcode | public void setOpcode(int opcode)(Code) | | Sets the opcode of this instruction.
Parameters: opcode - the new instruction opcode. This opcode must be ILOAD,LLOAD, FLOAD, DLOAD, ALOAD, ISTORE, LSTORE, FSTORE, DSTORE, ASTOREor RET. |
|
|