public static @NotNull BuildEvent convert(@NotNull ExternalSystemTaskExecutionEvent event) {
    var buildEvent = ExternalSystemProgressEventConverter.convertBuildEvent(event);
    if (buildEvent == null) {
      // Migrated old fallback from previous implementation
      return new OutputBuildEventImpl(
        event.getProgressEvent().getEventId(),
        ObjectUtils.chooseNotNull(event.getProgressEvent().getParentEventId(), event.getId()),
        event.getProgressEvent().getDescriptor().getDisplayName(),
        true
      );
    }
    return buildEvent;
  }
public static @NotNull BuildEvent convert(@NotNull ExternalSystemTaskExecutionEvent event)