void (StringBuilder buffer, PsiClass aClass, boolean generateLink, PsiClassType[] refs, String keyword) { appendStyledSpan(buffer, getHighlightingManager().getKeywordAttributes(), keyword); buffer.append(" "); for (int i = 0; i < refs.length; i++) { generateType(buffer, refs[i], aClass, generateLink); if (i < refs.length - 1) { appendStyledSpan(buffer, getHighlightingManager().getCommaAttributes(), ","); if (refs.length <= 3) { buffer.append(NBSP); } else { buffer.append('\n'); buffer.append(NBSP.repeat(keyword.length() + 1)); } } } }