code: public Content getTypeParameterLinks(LinkInfo linkInfo, boolean isClassLabel) {
          Content links = newContent();
          Type[] vars;
          if (linkInfo.executableMemberDoc != null) {
              vars = linkInfo.executableMemberDoc.typeParameters();
          } else if (linkInfo.type != null &&
                  linkInfo.type.asParameterizedType() != null){
              vars =  linkInfo.type.asParameterizedType().typeArguments();
          } else if (linkInfo.classDoc != null){
              vars = linkInfo.classDoc.typeParameters();
          } else {
              //Nothing to document.
              return links;
          }
          if (((linkInfo.includeTypeInClassLinkLabel && isClassLabel) ||
               (linkInfo.includeTypeAsSepLink && ! isClassLabel)
                )
              && vars.length > 0) {
              links.addContent("<");
              for (int i = 0; i < vars.length; i++) {
                  if (i > 0) {
                      links.addContent(",");
                  }
                  links.addContent(getTypeParameterLink(linkInfo, vars[i]));
              }
              links.addContent(">");
          }
          return links;
      }
docs: Return the links to the type parameters.
  
  @param linkInfo     the information about the link to construct.
  @param isClassLabel true if this is a class label.  False if it is
  the type parameters portion of the link.
  @return the links to the type parameters.