Sign in
android
/
platform
/
tools
/
idea
/
9b5d02ac8c92b1e71523cc15cb3d168d57fbd898
/
.
/
plugins
/
groovy
/
testdata
/
groovy
/
refactoring
/
extractMethod
/
input1.test
blob: da78e7b0fd958d68091351aba020869011f8574c [
file
] [
log
] [
blame
]
class
S
{
def
r
()
{
Closure
sin
=
{
x
->
Math
.
sin
(
x
)}
<begin>
10.times
{
x
->
sin x
}<
end
>
}
}
-----
class
S
{
def
r
()
{
Closure
sin
=
{
x
->
Math
.
sin
(
x
)}
<caret>
testMethod
(
sin
)
}
private
testMethod
(
Closure
sin
)
{
10.times
{
x
->
sin x
}
}
}