void (StringBuilder builder, CodeDocumentationAwareCommenter commenter, PsiMethod psiMethod) { PsiParameterList parameterList = psiMethod.getParameterList(); final PsiParameter[] parameters = parameterList.getParameters(); final Map<Integer, String> index2Description = collectParentParameterDescriptions(psiMethod, parameters); for (int i = 0; i < parameters.length; i++) { builder.append(CodeDocumentationUtil.createDocCommentLine(PARAM_TAG, psiMethod.getContainingFile(), commenter)); builder.append(parameters[i].getName()); String description = index2Description.get(i); if (description != null) { builder.append(description); } builder.append(LINE_SEPARATOR); } }