void (@NotNull IdeaPluginDescriptor pluginDescriptor, boolean isUpdate) { IdeaPluginDescriptor loadedPluginDescriptor = PluginManagerCore.getPlugin(pluginDescriptor.getPluginId()); ClassLoader pluginClassLoader = loadedPluginDescriptor != null ? loadedPluginDescriptor.getPluginClassLoader() : null; if (myFile != null && pluginClassLoader instanceof PluginAwareClassLoader) { FileType fileType = myFile.getFileType(); if (fileType.getClass().getClassLoader() == pluginClassLoader || (fileType instanceof LanguageFileType && ((LanguageFileType) fileType).getClass().getClassLoader() == pluginClassLoader)) { setupHighlighter(createHighlighter(true)); } } }