@NotNull
  public List<String> getTasks(@NotNull ExternalSystemTaskActivator.Phase phase) {
    return switch (phase) {
      case AFTER_COMPILE -> afterCompileTasks;
      case BEFORE_COMPILE -> beforeCompileTasks;
      case AFTER_SYNC -> afterSyncTasks;
      case BEFORE_RUN -> beforeRunTasks;
      case BEFORE_SYNC -> beforeSyncTasks;
      case AFTER_REBUILD -> afterRebuildTask;
      case BEFORE_REBUILD -> beforeRebuildTask;
    };
  }
@NotNull
  public List<String> getTasks(@NotNull ExternalSystemTaskActivator.Phase phase)