Stream<String> (@NotNull LanguageFileType fileType) { return FileTypeManager.getInstance().getAssociations(fileType) .stream() .filter(ExtensionFileNameMatcher.class::isInstance) .map(ExtensionFileNameMatcher.class::cast) .map(ExtensionFileNameMatcher::getExtension); }