| java.lang.Object com.tc.asm.tree.AbstractInsnNode com.tc.asm.tree.TypeInsnNode
TypeInsnNode | public class TypeInsnNode extends AbstractInsnNode (Code) | | A node that represents a type instruction. A type instruction is an
instruction that takes a type descriptor as parameter.
author: Eric Bruneton |
Field Summary | |
public String | desc The operand of this instruction. |
Constructor Summary | |
public | TypeInsnNode(int opcode, String desc) Constructs a new
TypeInsnNode .
Parameters: opcode - the opcode of the type instruction to be constructed. |
TypeInsnNode | public TypeInsnNode(int opcode, String desc)(Code) | | Constructs a new
TypeInsnNode .
Parameters: opcode - the opcode of the type instruction to be constructed. Thisopcode must be NEW, ANEWARRAY, CHECKCAST or INSTANCEOF. Parameters: desc - the operand of the instruction to be constructed. Thisoperand is a type descriptor (see com.tc.asm.Type). |
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 NEW,ANEWARRAY, CHECKCAST or INSTANCEOF. |
|
|