void (@NotNull StringBuilder buf, RefClass refClass) { if (!refClass.isInterface() && !refClass.isAbstract() && !refClass.isUtilityClass()) { boolean found = false; appendHeading(buf, AnalysisBundle.message("inspection.dead.code.export.results.instantiated.from.heading")); startList(buf); for (RefMethod refMethod : refClass.getConstructors()) { for (RefElement refCaller : refMethod.getInReferences()) { appendListItem(buf, refCaller); found = true; } } if (!found) { startListItem(buf); buf.append(AnalysisBundle.message("inspection.dead.code.export.results.no.instantiations.found")); doneListItem(buf); } doneList(buf); } }