docs: public List<DependencyStructure> getAllDependencies() {
      List<DependencyStructure> deps = Lists.newArrayList();
      if (!isTerminal()) {
        deps.addAll(left.getAllDependencies());
        deps.addAll(right.getAllDependencies());
      }
      deps.addAll(dependencies);
      return deps;
    }