FileTypeWithDescriptor (@NotNull Element element, boolean duringLoad) { if (!duringLoad) { fireBeforeFileTypesChanged(); } IdeaPluginDescriptor pluginDescriptor = coreIdeaPluginDescriptor(); AbstractFileType type = (AbstractFileType)loadFileType("filetypes.xml", element, pluginDescriptor, false); if (!duringLoad) { fireFileTypesChanged(type, null); } return new FileTypeWithDescriptor(type, pluginDescriptor); }