void (@NotNull StringBuilder buf, final RefElement refElement) { final HTMLComposerExtension extension = getLanguageExtension(refElement); if (extension != null) { extension.appendLocation(refElement, buf); } if (refElement instanceof RefFile){ buf.append(AnalysisBundle.message("inspection.export.results.file")); buf.append(NBSP); appendElementReference(buf, refElement, false); } else if (refElement instanceof RefDirectory){ buf.append(AnalysisBundle.message("inspection.export.results.directory")); buf.append(NBSP); appendElementReference(buf, refElement, false); } }