code: public static CharSequence prettyPrint(DependencyNode root)
     {
        StringBuilder sb = new StringBuilder();
        prettyPrint(root, new Predicate<DependencyNode>()
        {
           @Override
           public boolean accept(DependencyNode node)
           {
              return true;
           }
        }, sb, 0);
        return sb;
     }
docs: Prints a tree-like structure for this object
  
  @param root
  @return