@Override
  @TestOnly
  public boolean isRunningOrPending() {
    ThreadingAssertions.assertEventDispatchThread();
    return isRunning() || !myUpdateRunnableFuture.isDone() || GeneralHighlightingPass.isRestartPending();
  }
@Override
  @TestOnly
  public boolean isRunningOrPending()