void (@NotNull final MyElement element, @NotNull final DomExtensionsRegistrar registrar) { final String value = element.getAttr().getValue(); if (value != null) { registrar.registerAttributeChildExtension(new XmlName(value), MyAttribute.class).putUserData(BOOL_KEY, Boolean.TRUE); } }