List<Configuration> () { if (ourPredefinedConfigurations == null) { final List<Configuration> result = new ArrayList<>(); for (StructuralSearchProfile profile : getProfiles()) { Collections.addAll(result, profile.getPredefinedTemplates()); } Collections.sort(result, CONFIGURATION_COMPARATOR); ourPredefinedConfigurations = Collections.unmodifiableList(result); } return ourPredefinedConfigurations; }