void (@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)); }