PsiAnonymousClass () { ASTNode anonymousClass = findChildByType(JavaElementType.ANONYMOUS_CLASS); if (anonymousClass == null) return null; return (PsiAnonymousClass)SourceTreeToPsiMap.treeElementToPsi(anonymousClass); }