public static <K, V> @Nullable Map<K, V> getIndexData(@NotNull ID<K, V> indexId,
                                                        @Nullable Project project,
                                                        @NotNull VirtualFile file) {
    ensureUpToDate(indexId);
    return getIndexer(indexId, project, true).apply(file);
  }
public static <K, V> @Nullable Map<K, V> getIndexData(@NotNull ID<K, V> indexId,
                                                        @Nullable Project project,
                                                        @NotNull VirtualFile file)