List<Language> () { final ArrayList<Language> languages = new ArrayList<>(); for (LanguageCodeStyleSettingsProvider provider : getAllProviders()) { languages.add(provider.getLanguage()); } languages.sort((l1, l2) -> Comparing.compare(getLanguageName(l1), getLanguageName(l2))); return languages; }