code: public List<TypedDependency> typedDependenciesCollapsed(boolean includeExtras) {
      List<TypedDependency> tdl = typedDependencies(includeExtras);
      collapseDependencies(tdl, false);
      return tdl;
    }
docs: Get the typed dependencies after collapsing them.
  <p/>
  If the boolean argument is true, the list of typed dependencies
  returned may include "extras".
  
  @return collapsed dependencies