code: private void buildInheritedSummary(MemberSummaryWriter writer,
              VisibleMemberMap visibleMemberMap, LinkedList<Content> summaryTreeList) {
          for (TypeElement inhclass : visibleMemberMap.getVisibleClasses()) {
              if (!(utils.isPublic(inhclass) || utils.isLinkable(inhclass))) {
                  continue;
              }
              if (inhclass == typeElement) {
                  continue;
              }
              SortedSet<Element> inhmembers = asSortedSet(visibleMemberMap.getMembers(inhclass));
              if (!inhmembers.isEmpty()) {
                  Content inheritedTree = writer.getInheritedSummaryHeader(inhclass);
                  Content linksTree = writer.getInheritedSummaryLinksTree();
                  for (Element member : inhmembers) {
                      TypeElement t= inhclass;
                      if (utils.isPackagePrivate(inhclass) && !utils.isLinkable(inhclass)) {
                          t = typeElement;
                      }
                      writer.addInheritedMemberSummary(t, member, inhmembers.first() == member,
                              inhmembers.last() == member, linksTree);
                  }
                  inheritedTree.addContent(linksTree);
                  summaryTreeList.add(writer.getMemberTree(inheritedTree));
              }
          }
      }
docs: Build the inherited member summary for the given methods.
  
  @param writer the writer for this member summary.
  @param visibleMemberMap the map for the members to document.
  @param summaryTreeList list of content trees to which the documentation will be added