"trying to fix " + methodDoc.containingClass().name()
+ "." + methodDoc.name() + " " + parameter);
//first try to find corresponding fields which text can be copied.
StringBuilder additionalParameters = new StringBuilder();
FieldDoc field = DocBoostUtils.findCorrespondingField(methodDoc.containingClass(), parameter);
if (field == null)
field = DocBoostUtils.findCorrespondingField(fullClassDoc, parameter);
if (field != null && field.commentText() != null
&& !field.commentText().trim().isEmpty()) {
String firstSentence = DocBoostUtils.getFirstSentence(field);
additionalParameters.append(DocBoostUtils.TAG_PARAM).append(" ")
.append( parameter.name()).append(" ")
.append( firstSentence ).append("\n");
getLog().debug("fixed the parameter to " + firstSentence);