PsiExpression (PsiCallExpression call) { PsiExpressionList list = call.getArgumentList(); if (list != null) { PsiExpression[] args = list.getExpressions(); if (myIndex < args.length - 1 || (myIndex == args.length - 1 && !MethodCallUtils.isVarArgCall(call))) { return args[myIndex]; } } return null; }