public static <K, V> @Nullable Boolean processValuesInOneFile(@NotNull ID<K, V> indexId,
                                                                @NotNull K dataKey,
                                                                @NotNull VirtualFile file,
                                                                @NotNull GlobalSearchScope scope,
                                                                @NotNull FileBasedIndex.ValueProcessor<? super V> processor) {
    if (indexId == IdIndex.NAME && Registry.is("indexing.id.over.vfs")) {
      Map<K, V> map = getIndexer(indexId, scope.getProject(), false).apply(file);
      V value = map == null ? null : map.get(dataKey);
      if (value == null) return true;
      return processor.process(file, value);
    }
    return null;
  }
public static <K, V> @Nullable Boolean processValuesInOneFile(@NotNull ID<K, V> indexId,
                                                                @NotNull K dataKey,
                                                                @NotNull VirtualFile file,
                                                                @NotNull GlobalSearchScope scope,
                                                                @NotNull FileBasedIndex.ValueProcessor<? super V> processor)