public List<String> build(final String toolLocation){
  final List<String> commandLineParts=new ArrayList<String>(arguments);
  commandLineParts.add(0,toolLocation);
  return Collections.unmodifiableList(commandLineParts);
}

public List < String > build ( final String toolLocation ) { final List < String > commandLineParts = new ArrayList < String > ( arguments ) ; commandLineParts . add ( 0 , toolLocation ) ; return Collections . unmodifiableList ( commandLineParts ) ; }
this method returns an unmodifiable list of arguments . the toollocation passed in is inserted as the very first argument .
