@Override
  public @Nullable <T> Object deserialize(@Nullable Object context, @NotNull T element, @NotNull DomAdapter<T> adapter) {
    if (adapter == JdomAdapter.INSTANCE) {
      return deserializeUnsafe(context, (Element)element);
    }
    else {
      return deserializeUnsafe(context, (XmlElement)element);
    }
  }
@Override
  public @Nullable <T> Object deserialize(@Nullable Object context, @NotNull T element, @NotNull DomAdapter<T> adapter)