public static @Nullable @NlsSafe String legacyConvertBuildEventDisplayName(@NotNull String eventDescription) {
    if (eventDescription.startsWith("Download ")) {
      var path = eventDescription.substring("Download ".length());
      return GradleBundle.message("progress.title.download", PathUtil.getFileName(path));
    }
    if (eventDescription.startsWith("Task: ")) {
      return GradleBundle.message("progress.title.run.tasks");
    }
    if (eventDescription.equals("Build")) {
      return GradleBundle.message("progress.title.build");
    }
    if (eventDescription.startsWith("Build model ")) {
      return GradleBundle.message("progress.title.build.model");
    }
    else if (eventDescription.startsWith("Build parameterized model")) {
      return GradleBundle.message("progress.title.build.model");
    }
    if (eventDescription.startsWith("Configure project ")) {
      return GradleBundle.message("progress.title.configure.projects");
    }
    else if (eventDescription.startsWith("Cross-configure project ")) {
      return GradleBundle.message("progress.title.configure.projects");
    }
    return null;
  }
public static @Nullable @NlsSafe String legacyConvertBuildEventDisplayName(@NotNull String eventDescription)