InsnList at a time.
| Modifier and Type | Field and Description |
|---|---|
| public static final int | FIELD_INSN
The type of |
| public static final int | |
| public static final int | IINC_INSN
The type of |
| pack-priv int | index
The index of this instruction in the list to which it belongs. |
| public static final int | |
| public static final int | INT_INSN
The type of |
| public List | invisibleTypeAnnotations
The runtime invisible type annotations of this instruction. |
| public static final int | INVOKE_DYNAMIC_INSN
The type of |
| public static final int | JUMP_INSN
The type of |
| public static final int | |
| public static final int | LDC_INSN
The type of |
| public static final int | LINE
The type of |
| public static final int | LOOKUPSWITCH_INSN
The type of |
| public static final int | METHOD_INSN
The type of |
| public static final int | MULTIANEWARRAY_INSN
The type of |
| pack-priv AbstractInsnNode | nextInsn
The next instruction in the list to which this instruction belongs. |
| protected int | opcode
The opcode of this instruction, or -1 if this is not a JVM instruction (e.g. a label or a line number). |
| pack-priv AbstractInsnNode | previousInsn
The previous instruction in the list to which this instruction belongs. |
| public static final int | TABLESWITCH_INSN
The type of |
| public static final int | TYPE_INSN
The type of |
| public static final int | VAR_INSN
The type of |
| public List | visibleTypeAnnotations
The runtime visible type annotations of this instruction. |
| Access | Constructor and Description |
|---|---|
| protected | AbstractInsnNode(final int
the opcode of the instruction to be constructed. opcode)Constructs a new |
| Modifier and Type | Method and Description |
|---|---|
| public abstract void | accept(MethodVisitor
a method visitor. methodVisitor)Makes the given method visitor visit this instruction. |
| protected final void | acceptAnnotations(final MethodVisitor
a method visitor. methodVisitor)Makes the given visitor visit the annotations of this instruction. |
| public abstract AbstractInsnNode | |
| pack-priv static LabelNode | |
| pack-priv static LabelNode[] | |
| protected final AbstractInsnNode | Returns: this instruction.the source instruction. insnNode)Clones the annotations of the given instruction into this instruction. |
| public AbstractInsnNode | Returns: the next instruction in the list to which this instruction belongs, if any. May be null.Returns the next instruction in the list to which this instruction belongs, if any. |
| public int | Returns: the opcode of this instruction, or -1 if this is not a JVM instruction (e.g. a label or a line number).Returns the opcode of this instruction. |
| public AbstractInsnNode | Returns: the previous instruction in the list to which this instruction belongs, if any. May be null.Returns the previous instruction in the list to which this instruction belongs, if any. |
| public abstract int | Returns: the type of this instruction, i.e. one the constants defined in this class.Returns the type of this instruction. |
| FIELD_INSN | back to summary |
|---|---|
| public static final int FIELD_INSN The type of | |
| FRAME | back to summary |
|---|---|
| public static final int FRAME The type of | |
| IINC_INSN | back to summary |
|---|---|
| public static final int IINC_INSN The type of | |
| index | back to summary |
|---|---|
| pack-priv int index The index of this instruction in the list to which it belongs. The value of this field is
correct only when | |
| INSN | back to summary |
|---|---|
| public static final int INSN The type of | |
| INT_INSN | back to summary |
|---|---|
| public static final int INT_INSN The type of | |
| invisibleTypeAnnotations | back to summary |
|---|---|
| public List<TypeAnnotationNode> invisibleTypeAnnotations The runtime invisible type annotations of this instruction. This field is only used for real
instructions (i.e. not for labels, frames, or line number nodes). This list is a list of | |
| INVOKE_DYNAMIC_INSN | back to summary |
|---|---|
| public static final int INVOKE_DYNAMIC_INSN The type of | |
| JUMP_INSN | back to summary |
|---|---|
| public static final int JUMP_INSN The type of | |
| LABEL | back to summary |
|---|---|
| public static final int LABEL The type of | |
| LDC_INSN | back to summary |
|---|---|
| public static final int LDC_INSN The type of | |
| LINE | back to summary |
|---|---|
| public static final int LINE The type of | |
| LOOKUPSWITCH_INSN | back to summary |
|---|---|
| public static final int LOOKUPSWITCH_INSN The type of | |
| METHOD_INSN | back to summary |
|---|---|
| public static final int METHOD_INSN The type of | |
| MULTIANEWARRAY_INSN | back to summary |
|---|---|
| public static final int MULTIANEWARRAY_INSN The type of | |
| nextInsn | back to summary |
|---|---|
| pack-priv AbstractInsnNode nextInsn The next instruction in the list to which this instruction belongs. | |
| opcode | back to summary |
|---|---|
| protected int opcode The opcode of this instruction, or -1 if this is not a JVM instruction (e.g. a label or a line number). | |
| previousInsn | back to summary |
|---|---|
| pack-priv AbstractInsnNode previousInsn The previous instruction in the list to which this instruction belongs. | |
| TABLESWITCH_INSN | back to summary |
|---|---|
| public static final int TABLESWITCH_INSN The type of | |
| TYPE_INSN | back to summary |
|---|---|
| public static final int TYPE_INSN The type of | |
| VAR_INSN | back to summary |
|---|---|
| public static final int VAR_INSN The type of | |
| visibleTypeAnnotations | back to summary |
|---|---|
| public List<TypeAnnotationNode> visibleTypeAnnotations The runtime visible type annotations of this instruction. This field is only used for real
instructions (i.e. not for labels, frames, or line number nodes). This list is a list of | |
| AbstractInsnNode | back to summary |
|---|---|
| protected AbstractInsnNode(final int opcode) Constructs a new
| |
| accept | back to summary |
|---|---|
| public abstract void accept(MethodVisitor methodVisitor) Makes the given method visitor visit this instruction.
| |
| acceptAnnotations | back to summary |
|---|---|
| protected final void acceptAnnotations(final MethodVisitor methodVisitor) Makes the given visitor visit the annotations of this instruction.
| |
| clone | back to summary |
|---|---|
| public abstract AbstractInsnNode clone(Map<LabelNode, LabelNode> clonedLabels) Returns a copy of this instruction.
| |
| clone | back to summary |
|---|---|
| pack-priv static LabelNode clone(final LabelNode label, final Map<LabelNode, LabelNode> clonedLabels) Returns the clone of the given label. | |
| clone | back to summary |
|---|---|
| pack-priv static LabelNode[] clone(final List<LabelNode> labels, final Map<LabelNode, LabelNode> clonedLabels) Returns the clones of the given labels. | |
| cloneAnnotations | back to summary |
|---|---|
| protected final AbstractInsnNode cloneAnnotations(final AbstractInsnNode insnNode) Clones the annotations of the given instruction into this instruction.
| |
| getNext | back to summary |
|---|---|
| public AbstractInsnNode getNext() Returns the next instruction in the list to which this instruction belongs, if any.
| |
| getOpcode | back to summary |
|---|---|
| public int getOpcode() Returns the opcode of this instruction.
| |
| getPrevious | back to summary |
|---|---|
| public AbstractInsnNode getPrevious() Returns the previous instruction in the list to which this instruction belongs, if any.
| |
| getType | back to summary |
|---|---|
| public abstract int getType() Returns the type of this instruction.
| |