final PsiAnonymousClass anonymousClass =
(PsiAnonymousClass) aClass;
final PsiExpressionList args = anonymousClass.getArgumentList();
if(args!=null &&
PsiTreeUtil.isAncestor(args, expression, true)){
<BUG>return PsiTreeUtil
.getParentOfType(aClass, PsiClass.class);
</BUG>
}
}

final PsiAnonymousClass anonymousClass =
(PsiAnonymousClass) aClass;
final PsiExpressionList args = anonymousClass.getArgumentList();
if(args!=null &&
PsiTreeUtil.isAncestor(args, expression, true)){
return PsiTreeUtil.getParentOfType(aClass, PsiClass.class);
}
}
