public void iterateIndexableFilesIn(VirtualFile file, ContentIterator iterator) {
if (!isInSet(file)) return;
iterateIndexableFilesIn_internal(file, iterator);
}
private void iterateIndexableFilesIn_internal(VirtualFile file, ContentIterator iterator) {
<BUG>if (!CacheUtil.checkFile(file, myRootManager)) return;
</BUG>
if (file.isDirectory()) {
for (VirtualFile child : file.getChildren()) {
iterateIndexableFilesIn_internal(child, iterator);

public void iterateIndexableFilesIn(VirtualFile file, ContentIterator iterator) {
if (!isInSet(file)) return;
iterateIndexableFilesIn_internal(file, iterator);
}
private void iterateIndexableFilesIn_internal(VirtualFile file, ContentIterator iterator) {
if (!CacheUtil.isIgnored(file, myRootManager)) return;
if (file.isDirectory()) {
for (VirtualFile child : file.getChildren()) {
iterateIndexableFilesIn_internal(child, iterator);
