GrExpression (@NotNull GrMethodCall callExpression, int index) { GrExpression[] expressionArguments = callExpression.getExpressionArguments(); if (index < expressionArguments.length) { return expressionArguments[index]; } return callExpression.getClosureArguments()[index - expressionArguments.length]; }