docs: public ProgressBar maxHint(long n) {
          if (n < 0)
              progress.setAsIndefinite();
          else {
              progress.setAsDefinite();
              progress.maxHint(n);
          }
          return this;
      }