docs: @SuppressWarnings("unchecked")
    public RetryPolicy<R> abortIf(BiPredicate<R, ? extends Throwable> completionPredicate) {
      Assert.notNull(completionPredicate, "completionPredicate");
      abortConditions.add((BiPredicate<R, Throwable>) completionPredicate);
      return this;
    }