void (@NotNull final MyCustomChildrenElement element, @NotNull final DomExtensionsRegistrar registrar) { assertEmpty(element.getCustomChidren()); registrar.registerCollectionChildrenExtension(new XmlName("xx"), MyDynamicElement.class); }