@Override
  public String fromString(@Nullable @NonNls String s, @NotNull ConvertContext context) {
    if (s == null) return null;

    MavenId id = MavenArtifactCoordinatesHelper.getId(context);
    Project contextProject = context.getProject();
    MavenIndicesManager manager = MavenIndicesManager.getInstance(contextProject);

    ConverterStrategy strategy = selectStrategy(context);
    boolean isValid = strategy.isValid(id, manager, context);
    if (!isValid) {
      MavenRepositoryInfo repository = MavenIndexUtils.getLocalRepository(contextProject);
      if (repository == null) return null;
      Path artifactPath = MavenUtil.getArtifactPath(Path.of(repository.getUrl()), id, "pom", null);
      if (artifactPath != null && artifactPath.toFile().exists()) {
        MavenIndicesManager.getInstance(contextProject).scheduleArtifactIndexing(id, artifactPath.toFile(), repository.getUrl());
        return s;
      }
      return null;
    }
    return s;
  }
@Override
  public String fromString(@Nullable @NonNls String s, @NotNull ConvertContext context)