public Set<Task> getAllTasks(@NotNull Project project) {
    Set<Task> result = new LinkedHashSet<>(getProjectTasks(project));
    for (Project subProject : project.getSubprojects()) {
      result.addAll(getProjectTasks(subProject));
    }
    return result;
  }
public Set<Task> getAllTasks(@NotNull Project project)