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