boolean (@NotNull Processor<? super VirtualFile> processor) { VirtualFileManager virtualFileManager = VirtualFileManager.getInstance(); BitSet ids = fileIds; if (ids != null) { for (int id = ids.nextSetBit(0); id < ids.size(); id = ids.nextSetBit(id + 1)) { if (id < 0) break; VirtualFile file = virtualFileManager.findFileById(id); if (file != null && !processor.process(file)) return false; } } IntSet idSet = this.idSet; if (idSet != null) { IntIterator iterator = idSet.iterator(); while (iterator.hasNext()) { VirtualFile file = virtualFileManager.findFileById(iterator.nextInt()); if (file != null && !processor.process(file)) { return false; } } } for (VirtualFile t : weirdFiles) { if (!processor.process(t)) { return false; } } return true; }