ivate void markAsUpToDate() {
    Module[] modules = allModules();
    if (modules == null) return;

    myOpenCloseLock.lock();
    try {
      long modificationCount = getModificationCount();

      LOG.info("MC: " + modificationCount + ", ABC: " + myActiveBuilds);
      if (myActiveBuilds == 0 && modificationCount == 1) {
        myDirtyScopeHolder.compilerActivityFinished(ArraysKt.asList(modules));
        LOG.info("marked as up to date");
      }
    }
    finally {
      myOpenCloseLock.unlock();
    }
  }


ivate void markAsUpToDate() {