List<String> () { List<String> lines = new ArrayList<>(); lines.add(" use AppCDS: " + useAppCDS); lines.add(" Total classes: " + myClasses.size()); lines.add(" system classes: " + myClasses.values().stream().filter(info -> info.source == null).count()); lines.add(" pre 1.6 classes: " + myClasses.values().stream().filter(info -> info.myTooOldClassVersion != null).count()); lines.add(" ignored classes: " + myClasses.values().stream().filter(info -> !isValid(info)).count()); lines.add(""); return lines; }