@Nullable
  public static IdeaPlugin getIdeaPlugin(@NotNull XmlFile file) {
    final DomFileElement<IdeaPlugin> plugin = getIdeaPluginFileElement(file);
    return plugin != null ? plugin.getRootElement() : null;
  }
@Nullable
  public static IdeaPlugin getIdeaPlugin(@NotNull XmlFile file)