code: public String toMethodSignature(String name) {
          StringBuffer buf = new StringBuffer();
          buf.append(mRetType.getFullName());
          buf.append(' ');
          buf.append(name);
          buf.append('(');
  
          TypeDesc[] params = mParams;
          for (int i=0; i<params.length; i++) {
              if (i > 0) {
                  buf.append(", ");
              }
              buf.append(params[i].getFullName());
          }
  
          return buf.append(')').toString();
      }
docs: Returns this in Java method signature syntax.
  @param name method name