boolean (GrCallExpression exp, GrMethod method) { final GrArgumentList argumentList = exp.getArgumentList(); if (argumentList != null) { final GrExpression[] args = argumentList.getExpressionArguments(); for (final GrExpression arg : args) { if (expressionDefinitelyRecurses(arg, method)) { return true; } } final GrNamedArgument[] namedArgs = argumentList.getNamedArguments(); for (final GrNamedArgument arg : namedArgs) { if (expressionDefinitelyRecurses(arg.getExpression(), method)) { return true; } } } return false; }