code: private static ErrorDetails[] addLineAndFile( int line, File file, ErrorDetails... details ) {
  
  		Set<ErrorDetails> updatedDetails = new LinkedHashSet<> ();
  		if( details != null )
  			updatedDetails.addAll( Arrays.asList( details ));
  
  		if( file != null ) {
  			updatedDetails.add( file( file ));
  			updatedDetails.add( line( line ));
  		}
  
  		return updatedDetails.toArray( new ErrorDetails[ updatedDetails.size()]);
  	}
docs: Adds details about the line number and the file.
  @param line
  @param file
  @param details
  @return a non-null array