@Deprecated(forRemoval = true)
  @NotNull
  public <Key> Set<VirtualFile> getContainingFiles(@NotNull StubIndexKey<Key, ?> indexKey,
                                                   @NotNull @NonNls Key dataKey,
                                                   @NotNull Project project,
                                                   @NotNull GlobalSearchScope scope) {
    return ContainerUtil.newHashSet(getContainingFilesIterator(indexKey, dataKey, project, scope));
  }
@Deprecated(forRemoval = true)
  @NotNull
  public <Key> Set<VirtualFile> getContainingFiles(@NotNull StubIndexKey<Key, ?> indexKey,
                                                   @NotNull @NonNls Key dataKey,
                                                   @NotNull Project project,
                                                   @NotNull GlobalSearchScope scope)