question: public List < DexlibAbstractInstruction > instructionsBefore ( DexlibAbstractInstruction instruction ) { int i = instructions . indexOf ( instruction ) ; if ( i == - 1 ) throw new IllegalArgumentException ( "Instruction " + instruction + " not part of this body." ) ; List < DexlibAbstractInstruction > l = new ArrayList < DexlibAbstractInstruction > ( ) ; l . addAll ( instructions . subList ( 0 , i ) ) ; Collections . reverse ( l ) ; return l ; }
target:  Return the instructions that appear (lexically) before the given instruction. The instruction immediately before the given is the first instruction and so on.