private String fieldParamComment(Field field,String paramComment){
  String commentType=fieldTypeCardinalityComment(field);
  String comment=String.format("@param %s [%s]",wrapIfKeywordOrBuiltIn(field.getSimpleName()),commentType);
  if (paramComment == null) {
    paramComment=DocumentationUtil.getScopedDescription(field);
  }
  if (!Strings.isNullOrEmpty(paramComment)) {
    paramComment=RDocCommentFixer.rdocify(paramComment);
    comment+="\n  " + paramComment.replaceAll("(\\r?\\n)","\n  ");
  }
  return comment + "\n";
}

private String fieldParamComment ( Field field , String paramComment ) { String commentType = fieldTypeCardinalityComment ( field ) ; String comment = String . format ( "@param %s [%s]" , wrapIfKeywordOrBuiltIn ( field . getSimpleName ( ) ) , commentType ) ; if ( paramComment == null ) { paramComment = DocumentationUtil . getScopedDescription ( field ) ; } if ( ! Strings . isNullOrEmpty ( paramComment ) ) { paramComment = RDocCommentFixer . rdocify ( paramComment ) ; comment += "\n  " + paramComment . replaceAll ( "(\\r?\\n)" , "\n  " ) ; } return comment + "\n" ; }
returns a yard comment string for the field as a parameter to a function .
