boolean (@NotNull VirtualFile file) { FileTypeRegistry fileTypeRegistry = FileTypeRegistry.getInstance(); LanguageFileType languageFileType = ObjectUtils.tryCast(fileTypeRegistry.getFileTypeByFileName(file.getName()), LanguageFileType.class); return languageFileType != null && languageFileType.getLanguage() instanceof JvmLanguage; }