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