public void insert ( final AbstractInsnNode location , final InsnList insns ) { if ( insns . size == 0 ) { return ; } size += insns . size ; AbstractInsnNode ifirst = insns . first ; AbstractInsnNode ilast = insns . last ; AbstractInsnNode next = location . next ; if ( next == null ) { last = ilast ; } else { next . prev = ilast ; } location . next = ifirst ; ilast . next = next ; ifirst . prev = location ; cache = null ; insns . removeAll ( false ) ; }
Inserts the given instructions after the specified instruction .