PsiExpressionList (PsiElement parent) { if (parent instanceof PsiCall) { return ((PsiCall)parent).getArgumentList(); } if (parent instanceof PsiAnonymousClass) { return getArgumentList(parent.getParent()); } return null; }