DomExtension (@NotNull Type type, @NotNull CustomDomChildrenDescription.TagNameDescriptor descriptor) { DomExtensionImpl extension = addExtension(myCustoms, null, type); extension.setTagNameDescriptor(descriptor); return extension; }