@Contract("false -> null")
  public @Nullable Value write(boolean retPrevValue) {
    final Object orig = serializer.write(name, value, retPrevValue);
    return orig == null ? null : new Value(name, orig, serializer, kind);
  }
@Contract("false -> null")
  public @Nullable Value write(boolean retPrevValue)