String (@NotNull PsiElement element) { if (element instanceof PsiMethod method && myFinishedScopesMethodNames.contains(method.getName())) { String className = myDeclarationHolder instanceof PsiClass psiClass ? psiClass.getName() : null; if (className != null) { return className + (method.hasModifierProperty(PsiModifier.STATIC) ? "." : ".this."); } } return ""; }