Java org.objectweb.asm.tree InsnList fields, constructors, methods, implement or subclass

Example usage for Java org.objectweb.asm.tree InsnList fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for org.objectweb.asm.tree InsnList.

The text is from its open source code.

Subclass

org.objectweb.asm.tree.InsnList has subclasses.
Click this link to see all its subclasses.

Field

intsize
The number of instructions in this list.

Constructor

Method

voidaccept(final MethodVisitor methodVisitor)
Makes the given visitor visit all the instructions in this list.
voidadd(final AbstractInsnNode insnNode)
Adds the given instruction to the end of this list.
voidadd(final InsnList insnList)
Adds the given instructions to the end of this list.
voidclear()
Removes all the instructions of this list.
AbstractInsnNodeget(final int index)
Returns the instruction whose index is given.
AbstractInsnNodegetFirst()
Returns the first instruction in this list.
AbstractInsnNodegetLast()
Returns the last instruction in this list.
intindexOf(final AbstractInsnNode insnNode)
Returns the index of the given instruction in this list.
voidinsert(final AbstractInsnNode previousInsn, final AbstractInsnNode insnNode)
Inserts the given instruction after the specified instruction.
voidinsert(final AbstractInsnNode previousInsn, final InsnList insnList)
Inserts the given instructions after the specified instruction.
voidinsert(final AbstractInsnNode insnNode)
Inserts the given instruction at the beginning of this list.
voidinsert(final InsnList insnList)
Inserts the given instructions at the beginning of this list.
voidinsertBefore(final AbstractInsnNode nextInsn, final AbstractInsnNode insnNode)
Inserts the given instruction before the specified instruction.
voidinsertBefore(final AbstractInsnNode nextInsn, final InsnList insnList)
Inserts the given instructions before the specified instruction.
ListIteratoriterator()
Returns an iterator over the instructions in this list.
ListIteratoriterator(final int index)
Returns an iterator over the instructions in this list.
voidremove(final AbstractInsnNode insnNode)
Removes the given instruction from this list.
voidset(final AbstractInsnNode oldInsnNode, final AbstractInsnNode newInsnNode)
Replaces an instruction of this list with another instruction.
AbstractInsnNode[]toArray()
Returns an array containing all the instructions in this list.