public void addTask(@NotNull SequentialTaskWithFixedIterationsNumber task) {
    myUnfinishedTasks.add(task);
    myTotalIterations += task.getTotalIterationsNumber();
  }
public void addTask(@NotNull SequentialTaskWithFixedIterationsNumber task)