private static void addInternalAttribute(@NotNull DomExtensionsRegistrar registrar, Class<? extends DomElement> clazz) {
    if (!ApplicationManager.getApplication().isInternal()) {
      return;
    }

    registrar.registerGenericAttributeValueChildExtension(new XmlName("internal"), clazz)
      .setConverter(BooleanValueConverter.getInstance(false));
    registrar.registerGenericAttributeValueChildExtension(new XmlName("overrides"), clazz)
      .setConverter(BooleanValueConverter.getInstance(false));
  }
private static void addInternalAttribute(@NotNull DomExtensionsRegistrar registrar, Class<? extends DomElement> clazz)