void ( PsiClass aClass, StringBuilder buffer, PsiClassType[] refs, JavaDocHighlightingManager highlightingManager ) { for (int i = 0; i < refs.length; i++) { JavaDocInfoGeneratorFactory.getBuilder(aClass.getProject()) .setIsGenerationForRenderedDoc(false) .setHighlightingManager(highlightingManager) .create() .generateType(buffer, refs[i], aClass, false, true); if (i < refs.length - 1) { appendStyledSpan(buffer, highlightingManager.getCommaAttributes(), ", "); } } }