code: private void buildInheritedSummary(MemberSummaryWriter writer,
              VisibleMemberMap visibleMemberMap, LinkedList<Content> summaryTreeList) {
          for (ClassDoc inhclass : visibleMemberMap.getVisibleClassesList()) {
              if (!(inhclass.isPublic() ||
                    utils.isLinkable(inhclass, configuration))) {
                  continue;
              }
              if (inhclass == classDoc) {
                  continue;
              }
              List<ProgramElementDoc> inhmembers = visibleMemberMap.getMembersFor(inhclass);
              if (inhmembers.size() > 0) {
                  Collections.sort(inhmembers);
                  Content inheritedTree = writer.getInheritedSummaryHeader(inhclass);
                  Content linksTree = writer.getInheritedSummaryLinksTree();
                  for (int j = 0; j < inhmembers.size(); ++j) {
                      writer.addInheritedMemberSummary(
                              inhclass.isPackagePrivate() &&
                              !utils.isLinkable(inhclass, configuration) ?
                              classDoc : inhclass,
                              inhmembers.get(j),
                              j == 0,
                              j == inhmembers.size() - 1, 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