ArrayList<LogFileOptions> () { ArrayList<LogFileOptions> list = new ArrayList<>(getLogFiles()); for (PredefinedLogFile predefinedLogFile : getOptions().getPredefinedLogFiles()) { final LogFileOptions options = getOptionsForPredefinedLogFile(predefinedLogFile); if (options != null) { list.add(options); } } return list; }