code: public Content getTableCaption(Set<MethodTypes> methodTypes) {
          Content tabbedCaption = new HtmlTree(HtmlTag.CAPTION);
          for (MethodTypes type : methodTypes) {
              Content captionSpan;
              Content span;
              if (type.tableTabs().isDefaultTab()) {
                  captionSpan = HtmlTree.SPAN(configuration.getContent(type.tableTabs().resourceKey()));
                  span = HtmlTree.SPAN(type.tableTabs().tabId(),
                          HtmlStyle.activeTableTab, captionSpan);
              } else {
                  captionSpan = HtmlTree.SPAN(getMethodTypeLinks(type));
                  span = HtmlTree.SPAN(type.tableTabs().tabId(),
                          HtmlStyle.tableTab, captionSpan);
              }
              Content tabSpan = HtmlTree.SPAN(HtmlStyle.tabEnd, Contents.SPACE);
              span.addContent(tabSpan);
              tabbedCaption.addContent(span);
          }
          return tabbedCaption;
      }
docs: Get the summary table caption.
  
  @param methodTypes set comprising of method types to show as table caption
  @return the caption for the summary table