blob: 64a3ac58ab876ff0a02278e590866741efb9fedf [file] [log] [blame]
def foo(b, c) {
<begin>[].each (new Closure(this, this) {
void call() {
b.plus(c)
}
})<end>
}
-----
def foo(b, c) {
testMethod(b, c)
}
private ArrayList testMethod(b, c) {
return [].each(new Closure(this, this) {
void call() {
b.plus(c)
}
})
}