code: private void appendFunctionParamAnnotations(
        StringBuilder sb, FunctionType funType, Node paramNode) {
      int minArity = funType.getMinArity();
      int maxArity = funType.getMaxArity();
      List<JSType> formals = ImmutableList.copyOf(funType.getParameterTypes());
      for (int i = 0; i < formals.size(); i++) {
        sb.append(" * ");
        appendAnnotation(sb, "param", getParameterJSDocType(formals, i, minArity, maxArity));
        String parameterName = getParameterJSDocName(paramNode, i);
        sb.append(" ").append(parameterName).append("\n");
        if (paramNode != null) {
          paramNode = paramNode.getNext();
        }
      }
    }
docs: Generates @param annotations.
  
  @param sb annotations will be appended here
  @param funType function type
  @param paramNode parameter names will be taken from here