public AbstractInsnNode [ ] toArray ( ) { int i = 0 ; AbstractInsnNode elem = first ; AbstractInsnNode [ ] insns = new AbstractInsnNode [ size ] ; while ( elem != null ) { insns [ i ] = elem ; elem . index = i ++ ; elem = elem . next ; } return insns ; }
Returns an array containing all of the instructions in this list .