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;
}

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 ; }
return the instructions that appear ( lexically ) before the given instruction . the instruction immediately before the given is the first instruction and so on .
