code: protected void addModifierAndType(Element member, TypeMirror type,
              Content tdSummaryType) {
          HtmlTree code = new HtmlTree(HtmlTag.CODE);
          addModifier(member, code);
          if (type == null) {
              code.addContent(utils.isClass(member) ? "class" : "interface");
              code.addContent(Contents.SPACE);
          } else {
              List<? extends TypeParameterElement> list = utils.isExecutableElement(member)
                      ? ((ExecutableElement)member).getTypeParameters()
                      : null;
              if (list != null && !list.isEmpty()) {
                  Content typeParameters = ((AbstractExecutableMemberWriter) this)
                          .getTypeParameters((ExecutableElement)member);
                      code.addContent(typeParameters);
                  //Code to avoid ugly wrapping in member summary table.
                  if (typeParameters.charCount() > 10) {
                      code.addContent(new HtmlTree(HtmlTag.BR));
                  } else {
                      code.addContent(Contents.SPACE);
                  }
                  code.addContent(
                          writer.getLink(new LinkInfoImpl(configuration,
                          LinkInfoImpl.Kind.SUMMARY_RETURN_TYPE, type)));
              } else {
                  code.addContent(
                          writer.getLink(new LinkInfoImpl(configuration,
                          LinkInfoImpl.Kind.SUMMARY_RETURN_TYPE, type)));
              }
  
          }
          tdSummaryType.addContent(code);
      }
docs: Add the modifier and type for the member in the member summary.
  
  @param member the member to add the type for
  @param type the type to add
  @param tdSummaryType the content tree to which the modified and type will be added