code: public Content getSignature(MethodDoc method) {
          Content pre = new HtmlTree(HtmlTag.PRE);
          writer.addAnnotationInfo(method, pre);
          addModifiers(method, pre);
          addTypeParameters(method, pre);
          addReturnType(method, pre);
          if (configuration.linksource) {
              Content methodName = new StringContent(method.name());
              writer.addSrcLink(method, methodName, pre);
          } else {
              addName(method.name(), pre);
          }
          int indent = pre.charCount();
          addParameters(method, pre, indent);
          addExceptions(method, pre, indent);
          return pre;
      }
docs: Get the signature for the given method.
  
  @param method the method being documented.
  @return a content object for the signature