Iterator<VirtualFile> (@Nullable IntSet result, @NotNull GlobalSearchScope scope) { Set<VirtualFile> fileSet = new CompactVirtualFileSet(result == null ? IntSets.emptySet() : result).freezed(); return fileSet.stream().filter(scope::contains).iterator(); }