public static @NotNull Ref makeRef(String id, RdTarget rdTarget, @NotNull Object value) {
    if (value instanceof Ref) return (Ref)value;

    return new Ref(
      id,
      value.getClass().getName(),
      System.identityHashCode(value),
      value.toString(),
      rdTarget
    );
  }
public static @NotNull Ref makeRef(String id, RdTarget rdTarget, @NotNull Object value)