PsiParameterList (@NotNull PsiExpressionList list) { if (!(list.getParent() instanceof PsiMethodCallExpression)) { return null; } final PsiMethod method = ((PsiMethodCallExpression)list.getParent()).resolveMethod(); return method != null ? method.getParameterList() : null; }