void (StringBuilder buffer, PsiDocComment comment) { PsiDocTag[] tags = comment.findTagsByName("see"); if (tags.length > 0) { startHeaderSection(buffer, JavaBundle.message("javadoc.see.also")).append("<p>"); for (int i = 0; i < tags.length; i++) { PsiDocTag tag = tags[i]; PsiElement[] elements = tag.getDataElements(); if (elements.length > 0) { String text = createLinkText(elements); if (StringUtil.startsWithChar(text, '<')) { buffer.append(text); } else if (StringUtil.startsWithChar(text, '"')) { appendPlainText(buffer, text); } else { generateLink(buffer, text, comment, false); } } if (i < tags.length - 1) { buffer.append(","); buffer.append(BR_TAG); } } buffer.append(DocumentationMarkup.SECTION_END); } }