void (@NotNull StringBuilder buf, RefEntity refEntity) { genPageHeader(buf, refEntity); if (myTool.getDescriptions(refEntity) != null) { appendHeading(buf, AnalysisBundle.message("inspection.problem.synopsis")); buf.append("<div class=\"problem-description\">"); CommonProblemDescriptor[] descriptions = myTool.getDescriptions(refEntity); LOG.assertTrue(descriptions != null); startList(buf); for (int i = 0; i < descriptions.length; i++) { final CommonProblemDescriptor description = descriptions[i]; startListItem(buf); composeDescription(description, i, buf, refEntity); doneListItem(buf); } doneList(buf); buf.append("</div>"); appendResolution(buf,refEntity, quickFixTexts(refEntity, myTool)); } else { appendNoProblems(buf); } }