public void scheduleForIndexingRecursively(@NotNull VirtualFile file, boolean onlyContentDependent) {
    if (file.isDirectory()) {
      final ContentIterator iterator = fileOrDir -> {
        recordFileEvent(fileOrDir, onlyContentDependent);
        return true;
      };

      iterateIndexableFiles(file, iterator);
    }
    else {
      recordFileEvent(file, onlyContentDependent);
    }
  }
public void scheduleForIndexingRecursively(@NotNull VirtualFile file, boolean onlyContentDependent)