code: public static <T> T returnValueOrDefaultIfNull(T value, T defaultValue) {
      return returnValueOrDefaultIfNull(value, () -> defaultValue);
    }
docs: Returns the given {@code value} if not {@literal null} or returns the {@code defaultValue}.
  
  @param <T> {@link Class} type of the {@code value} and {@code defaultValue}.
  @param value {@link Object} to evaluate for {@literal null}.
  @param defaultValue {@link Object} value to return if {@code value} is {@literal null}.
  @return the given {@code value} if not {@literal null} or returns the {@code defaultValue}.
  @see #returnValueOrDefaultIfNull(Object, Supplier)