protected final boolean hasDirtyFiles() {
    synchronized (myDirtyFileSet) {
      if (myDirtyFileSet.isEmpty()) {
        return false;
      }

      validateCache();
      return true;
    }
  }
protected final boolean hasDirtyFiles()