List<String> (String moduleName, Predicate<? super OrderEntry> predicate) { List<String> actual = new ArrayList<>(); for (OrderEntry e : getRootManager(moduleName).getOrderEntries()) { if (predicate.test(e)) { actual.add(e.getPresentableName()); } } return actual; }