code: @SuppressWarnings("deprecation")
      @WithBridgeMethods(Future.class)
      public QueueTaskFuture<R> scheduleBuild2(int quietPeriod) {
          return scheduleBuild2(quietPeriod, new LegacyCodeCause());
      }
docs: Schedules a build, and returns a {@link Future} object
  to wait for the completion of the build.
  
  <p>
  Production code shouldn't be using this, but for tests this is very convenient, so this isn't marked
  as deprecated.