String (@NotNull PsiClass c) { if (c instanceof PsiAnonymousClass) { PsiClass containingClass = PsiTreeUtil.getParentOfType(c, PsiClass.class); if (containingClass != null) { return ClassUtil.getJVMClassName(containingClass) + JavaAnonymousClassesHelper.getName((PsiAnonymousClass)c); } } return ClassUtil.getJVMClassName(c); }