String (@NotNull MethodCandidateInfo methodCandidate) { PsiMethod method = methodCandidate.getElement(); PsiClass containingClass = method.getContainingClass(); return containingClass == null ? method.getContainingFile().getName() : HighlightUtil.formatClass(containingClass, false); }