code: @Nonnull
    public static <T> T ensureNonNull(@Nullable final T value, @Nonnull final T defaultValue) {
      return value == null ? Assertions.assertNotNull(defaultValue) : value;
    }
docs: Get value and ensure that the value is not null
  
  @param <T>          type of value
  @param value        the value
  @param defaultValue the default value to be returned if the value is null
  @return not null value
  @throws AssertionError if both the value and the default value are null
  @since 1.0