boolean (GrForStatement forStatement, GrMethod method) { final GrForClause clause = forStatement.getClause(); if (clause == null) return false; for (GrVariable var : clause.getDeclaredVariables()) { final GrExpression initializer = var.getInitializerGroovy(); if (expressionDefinitelyRecurses(initializer, method)) { return true; } } return false; }