docs: static List<ProjectDefinition> getTopDownParentProjects(ProjectDefinition project) {
      List<ProjectDefinition> result = new ArrayList<>();
      ProjectDefinition p = project;
      while (p != null) {
        result.add(0, p);
        p = p.getParent();
      }
      return result;
    }