String (ParamInfo tag) { PsiElement[] elements = tag.docTag.getDataElements(); if (elements.length == 0) return ""; String text = elements[0].getText(); StringBuilder buffer = new StringBuilder(); buffer.append("<code>"); buffer.append(tag.presentableName); buffer.append("</code>"); StringBuilder descriptionBuffer = new StringBuilder(); generateValue(descriptionBuffer, tag, elements, text); if (!StringUtil.isEmptyOrSpaces(descriptionBuffer)) { buffer.append(" &ndash; "); buffer.append(descriptionBuffer); } return buffer.toString(); }