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

TypeInsnNode

public class TypeInsnNode extends AbstractInsnNode
A node that represents a type instruction. A type instruction is an instruction that takes a type descriptor as parameter.
author
Eric Bruneton

Fields Summary
public String
desc
The operand of this instruction. This operand is a type descriptor (see {@link oracle.toplink.libraries.asm.Type Type}).
Constructors Summary
public TypeInsnNode(int opcode, String desc)
Constructs a new {@link TypeInsnNode TypeInsnNode} object.

param
opcode the opcode of the type instruction to be constructed. This opcode must be NEW, ANEWARRAY, CHECKCAST or INSTANCEOF.
param
desc the operand of the instruction to be constructed. This operand is a type descriptor (see {@link oracle.toplink.libraries.asm.Type Type}).

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

    cv.visitTypeInsn(opcode, desc);
  
public voidsetOpcode(int opcode)
Sets the opcode of this instruction.

param
opcode the new instruction opcode. This opcode must be NEW, ANEWARRAY, CHECKCAST or INSTANCEOF.

    this.opcode = opcode;