void (@NotNull Collection<? super FileType> result) { ExtensionPoint<KeyedLazyInstance<ImportOptimizer>> ep = LanguageImportStatements.INSTANCE.getPoint(); if (ep != null) { for (KeyedLazyInstance<ImportOptimizer> instance : ep.getExtensionList()) { String languageId = instance.getKey(); Language language = Language.findLanguageByID(languageId); ContainerUtil.addIfNotNull(result, language != null ? language.getAssociatedFileType() : null); } } }