@Override
  public @NotNull DomExtension registerAttributeChildExtension(final @NotNull XmlName name, final @NotNull Type type) {
    assert GenericAttributeValue.class.isAssignableFrom(ClassUtil.getRawType(type));
    return addExtension(myAttributes, name, type);
  }
@Override
  public @NotNull DomExtension registerAttributeChildExtension(final @NotNull XmlName name, final @NotNull Type type)