PsiMethodCallExpression (@NotNull PsiElement anchor) { final PsiElement argList = PsiUtil.skipParenthesizedExprUp(anchor).getParent(); if (argList instanceof PsiExpressionList) { final PsiElement parent = argList.getParent(); if (parent instanceof PsiMethodCallExpression) { return (PsiMethodCallExpression)parent; } } return null; }