String (@Nullable PsiClass containingClass) { // no support for local classes for now if (containingClass == null) return null; if (containingClass instanceof PsiAnonymousClass) { String parentName = getClassVMName(PsiTreeUtil.getParentOfType(containingClass, PsiClass.class)); if (parentName == null) { return null; } else { return parentName + JavaAnonymousClassesHelper.getName((PsiAnonymousClass)containingClass); } } return getNonAnonymousClassName(containingClass); }