void (@NotNull RefMethod method) { UMethod uMethod = method.getUastElement(); if (uMethod == null) return; PsiMethod psiMethod = uMethod.getJavaPsi(); PsiType returnType = psiMethod.getReturnType(); if (method.isStatic()) { buf.append(AnalysisBundle.message("inspection.export.results.static")); buf.append(HTMLComposerImpl.NBSP); } else if (method.isAbstract()) { buf.append(AnalysisBundle.message("inspection.export.results.abstract")); buf.append(HTMLComposerImpl.NBSP); } buf.append(method.isConstructor() ? AnalysisBundle.message("inspection.export.results.constructor") : AnalysisBundle.message("inspection.export.results.method")); buf.append(HTMLComposerImpl.NBSP).append(HTMLComposerImpl.CODE_OPENING); if (returnType != null) { buf.append(XmlStringUtil.escapeString(returnType.getPresentableText())); buf.append(HTMLComposerImpl.NBSP); } buf.append(HTMLComposerImpl.B_OPENING); buf.append(psiMethod.getName()); buf.append(HTMLComposerImpl.B_CLOSING); appendMethodParameters(buf, psiMethod, true); buf.append(HTMLComposerImpl.CODE_CLOSING); }