code: public ExecutionResult withComplete() {
      return this.complete ? this : new ExecutionResult(result, failure, nonResult, waitNanos, true, success, successAll);
    }
docs: Returns a copy of the ExecutionResult with the value set to true, else this if nothing has changed.