code: private void buildSummary(MemberSummaryWriter writer,
              VisibleMemberMap visibleMemberMap, LinkedList<Content> summaryTreeList) {
          SortedSet<Element> members = asSortedSet(visibleMemberMap.getLeafMembers());
          if (!members.isEmpty()) {
              List<Content> tableContents = new LinkedList<>();
              int counter = 0;
              for (Element member : members) {
                  final Element property = visibleMemberMap.getPropertyMemberDoc(member);
                  if (property != null) {
                      processProperty(visibleMemberMap, member, property);
                  }
                  List<? extends DocTree> firstSentenceTags = utils.getFirstSentenceTrees(member);
                  if (utils.isExecutableElement(member) && firstSentenceTags.isEmpty()) {
                      //Inherit comments from overriden or implemented method if
                      //necessary.
                      DocFinder.Output inheritedDoc =
                              DocFinder.search(configuration,
                                      new DocFinder.Input(utils, (ExecutableElement) member));
                      if (inheritedDoc.holder != null
                              && !utils.getFirstSentenceTrees(inheritedDoc.holder).isEmpty()) {
                          // let the comment helper know of the overridden element
                          CommentHelper ch = utils.getCommentHelper(member);
                          ch.setOverrideElement(inheritedDoc.holder);
                          firstSentenceTags = utils.getFirstSentenceTrees(inheritedDoc.holder);
                      }
                  }
                  writer.addMemberSummary(typeElement, member, firstSentenceTags,
                          tableContents, counter);
                  counter++;
              }
              summaryTreeList.add(writer.getSummaryTableTree(typeElement, tableContents));
          }
      }
docs: Build the member summary for the given members.
  
  @param writer the summary writer to write the output.
  @param visibleMemberMap the given members to summarize.
  @param summaryTreeList list of content trees to which the documentation will be added