Collection<Language> () { ExtensionPoint<@NotNull LanguageExtensionPoint<JvmDeclarationSearcher>> point = getPoint(); List<Language> result = new ArrayList<>(); for (Language language : Language.getRegisteredLanguages()) { if (language instanceof JvmLanguage || (point != null && matchesRegisteredLanguage(language, point))) { result.add(language); } } return result; }