private static @NotNull <R> Computable<R> loggingResolver(@NotNull Object ref, @NotNull Computable<? extends R> resolver) {
    return () -> {
      if (IdempotenceChecker.isLoggingEnabled()) {
        IdempotenceChecker.logTrace("Resolving " + ref + " of " + ref.getClass());
      }
      return resolver.get();
    };
  }
private static @NotNull <R> Computable<R> loggingResolver(@NotNull Object ref, @NotNull Computable<? extends R> resolver)