code: private Content getClassInheritenceTree(Type type) {
          Type sup;
          HtmlTree classTreeUl = new HtmlTree(HtmlTag.UL);
          classTreeUl.addStyle(HtmlStyle.inheritance);
          Content liTree = null;
          do {
              sup = utils.getFirstVisibleSuperClass(
                      type instanceof ClassDoc ? (ClassDoc) type : type.asClassDoc(),
                      configuration);
              if (sup != null) {
                  HtmlTree ul = new HtmlTree(HtmlTag.UL);
                  ul.addStyle(HtmlStyle.inheritance);
                  ul.addContent(getTreeForClassHelper(type));
                  if (liTree != null)
                      ul.addContent(liTree);
                  Content li = HtmlTree.LI(ul);
                  liTree = li;
                  type = sup;
              }
              else
                  classTreeUl.addContent(getTreeForClassHelper(type));
          }
          while (sup != null);
          if (liTree != null)
              classTreeUl.addContent(liTree);
          return classTreeUl;
      }
docs: Get the class hierarchy tree for the given class.
  
  @param type the class to print the hierarchy for
  @return a content tree for class inheritence