@NotNull
  private IndexingContext getIndex(MavenIndexId mavenIndexId) throws IOException, ComponentLookupException {
    synchronized (myContexts) {
      IndexingContext context = myContexts.get(mavenIndexId.indexId);
      if (context != null) return context;
      @NotNull String id = mavenIndexId.indexId;
      @NotNull String repositoryId = mavenIndexId.repositoryId;
      @Nullable File repository = mavenIndexId.repositoryFilePath == null ? null : new File(mavenIndexId.repositoryFilePath);
      @NotNull File indexDirectory = new File(mavenIndexId.indexDirPath);
      @Nullable String repositoryUrl = mavenIndexId.url;
      @Nullable String indexUpdateUrl = null;
      boolean searchable = true;
      boolean reclaim = true;
      context =
        myIndexer.createIndexingContext(id, repositoryId, repository, indexDirectory, repositoryUrl, indexUpdateUrl, searchable, reclaim,
                                        createIndexers());
      myContexts.put(mavenIndexId.indexId, context);
      return context;
    }
  }
@NotNull
  private IndexingContext getIndex(MavenIndexId mavenIndexId)