private String fieldAttributeComment(Field field){
  String comment="@!attribute [rw] " + field.getSimpleName() + "\n"+ "  @return ["+ fieldTypeCardinalityComment(field)+ "]";
  String fieldComment=DocumentationUtil.getScopedDescription(field);
  if (!Strings.isNullOrEmpty(fieldComment)) {
    fieldComment=RDocCommentFixer.rdocify(fieldComment);
    comment+="\n    " + fieldComment.replaceAll("(\\r?\\n)","\n    ");
  }
  return comment + "\n";
}

private String fieldAttributeComment ( Field field ) { String comment = "@!attribute [rw] " + field . getSimpleName ( ) + "\n" + "  @return [" + fieldTypeCardinalityComment ( field ) + "]" ; String fieldComment = DocumentationUtil . getScopedDescription ( field ) ; if ( ! Strings . isNullOrEmpty ( fieldComment ) ) { fieldComment = RDocCommentFixer . rdocify ( fieldComment ) ; comment += "\n    " + fieldComment . replaceAll ( "(\\r?\\n)" , "\n    " ) ; } return comment + "\n" ; }
return a yard comment string for the field , as the attribute of a message .
