code: public static <R> R supplierIfNull(R target, Supplier<R> supplier) {
          return Optional.ofNullable(target).orElseGet(supplier);
      }
docs: Supplier if null r.
  
  @param <R>      the type parameter
  @param target   the target
  @param supplier the supplier
  @return the r