void (@NotNull StringBuilder buf, RefEntity where, String[] quickFixes) { if (where instanceof RefElement && !where.isValid()) return; if (quickFixes != null) { boolean listStarted = false; for (final String text : quickFixes) { if (text == null) continue; if (!listStarted) { appendHeading(buf, AnalysisBundle.message("inspection.problem.resolution")); startList(buf); listStarted = true; } startListItem(buf); appendQuickFix(buf, text); doneListItem(buf); } if (listStarted) { doneList(buf); } } }