PsiExpressionList (@NotNull PsiElement element) { if (!(element instanceof PsiAnonymousClass)) { return null; } PsiElement e = element.getParent(); if (e instanceof PsiNewExpression && e.getParent() instanceof PsiExpressionList) { return (PsiExpressionList)e.getParent(); } return null; }