void () { hasNext = false; while (idIterator.hasNext()) { int id = idIterator.nextInt(); if (!filter.test(id)) { continue; } VirtualFile t = fileBasedIndex.findFileById(id); if (t != null) { next = t; hasNext = true; break; } } }