DomExtension (@NotNull Type type, @NotNull CustomDomChildrenDescription.AttributeDescriptor attributeDescriptor) { DomExtensionImpl extension = addExtension(myCustoms, null, type); extension.setAttributesDescriptor(attributeDescriptor); return extension; }