org.objectweb.asm.tree
Class AbstractInsnNode
public abstract class AbstractInsnNode
A node that represents a bytecode instruction.
abstract void | accept(MethodVisitor cv) - Makes the given code visitor visit this instruction.
|
int | getOpcode() - Returns the opcode of this instruction.
|
abstract int | getType() - Returns the type of this instruction.
|
FIELD_INSN
public static final int FIELD_INSN
IINC_INSN
public static final int IINC_INSN
INSN
public static final int INSN
INT_INSN
public static final int INT_INSN
JUMP_INSN
public static final int JUMP_INSN
LABEL
public static final int LABEL
LDC_INSN
public static final int LDC_INSN
LOOKUPSWITCH_INSN
public static final int LOOKUPSWITCH_INSN
METHOD_INSN
public static final int METHOD_INSN
MULTIANEWARRAY_INSN
public static final int MULTIANEWARRAY_INSN
TABLESWITCH_INSN
public static final int TABLESWITCH_INSN
TYPE_INSN
public static final int TYPE_INSN
VAR_INSN
public static final int VAR_INSN
opcode
protected int opcode
The opcode of this instruction.
AbstractInsnNode
protected AbstractInsnNode(int opcode)
opcode
- the opcode of the instruction to be constructed.
accept
public abstract void accept(MethodVisitor cv)
Makes the given code visitor visit this instruction.
getOpcode
public int getOpcode()
Returns the opcode of this instruction.
- the opcode of this instruction.
getType
public abstract int getType()
Returns the type of this instruction.
- the type of this instruction, i.e. one the constants defined in
this class.