org.objectweb.asm.tree
public class TypeInsnNode extends AbstractInsnNode
Field Summary | |
---|---|
String | desc
The operand of this instruction. |
Constructor Summary | |
---|---|
TypeInsnNode(int opcode, String desc)
Constructs a new {@link TypeInsnNode TypeInsnNode} object.
|
Method Summary | |
---|---|
void | accept(CodeVisitor cv) |
void | setOpcode(int opcode)
Sets the opcode of this instruction.
|
Parameters: opcode the opcode of the type instruction to be constructed. This opcode must be NEW, ANEWARRAY, CHECKCAST or INSTANCEOF. desc the operand of the instruction to be constructed. This operand is a type descriptor (see {@link org.objectweb.asm.Type Type}).
Parameters: opcode the new instruction opcode. This opcode must be NEW, ANEWARRAY, CHECKCAST or INSTANCEOF.