List<Language> () { return LanguageCodeStyleSettingsProvider.getAllProviders() .stream() .filter(provider -> provider.supportsExternalFormats()) .map(provider -> provider.getLanguage()) .sorted((l1, l2) -> l1.getDisplayName().compareToIgnoreCase(l2.getDisplayName())) .collect(Collectors.toList()); }