class S { | |
def r() { | |
Closure sin = {x -> Math.sin(x)} | |
10.times { | |
x -> sin x | |
} | |
} | |
} | |
<begin>"hhh"<end> | |
----- | |
class S { | |
def r() { | |
Closure sin = {x -> Math.sin(x)} | |
10.times { | |
x -> sin x | |
} | |
} | |
} | |
<caret>testMethod() | |
private String testMethod() { | |
return "hhh" | |
} |