FileDocCategorySizeDatePackage
IntInsnNode.javaAPI DocGlassfish v2 API2714Thu Mar 02 11:51:16 GMT 2006oracle.toplink.libraries.asm.tree

IntInsnNode

public class IntInsnNode extends AbstractInsnNode
A node that represents an instruction with a single int operand.
author
Eric Bruneton

Fields Summary
public int
operand
The operand of this instruction.
Constructors Summary
public IntInsnNode(int opcode, int operand)
Constructs a new {@link IntInsnNode IntInsnNode} object.

param
opcode the opcode of the instruction to be constructed. This opcode must be BIPUSH, SIPUSH or NEWARRAY.
param
operand the operand of the instruction to be constructed.

    super(opcode);
    this.operand = operand;
  
Methods Summary
public voidaccept(oracle.toplink.libraries.asm.CodeVisitor cv)

    cv.visitIntInsn(opcode, operand);
  
public voidsetOpcode(int opcode)
Sets the opcode of this instruction.

param
opcode the new instruction opcode. This opcode must be BIPUSH, SIPUSH or NEWARRAY.

    this.opcode = opcode;