Result (@NotNull VirtualFile file) { boolean ignored = ReadAction.compute(() -> fileIndex.isExcluded(file)); if (!ignored && !file.isDirectory()) { fileSet.add(file); } return ignored ? SKIP_CHILDREN : CONTINUE; }