Sign in
android
/
platform
/
tools
/
idea
/
9b5d02ac8c92b1e71523cc15cb3d168d57fbd898
/
.
/
plugins
/
groovy
/
testdata
/
intentions
/
convertMethodToClosure
/
ClosureToMethodWithFieldUsages.groovy
blob: 5b94e7a1b62621384a4912d4ba980ef26cdc8970 [
file
] [
log
] [
blame
]
class
X
{
def
fo
<caret>
o
=
{
print
it
}
def
bar
()
{
foo
(
2
)
this
.
foo
(
2
)
foo
.
call
(
2
)
foo
.
call
()
print
this
.&
foo
}
}
final
X x
=
new
X
()
x
.
foo
(
2
)
print
x
.
foo
x
.
foo
.
call
(
2
)
x
.
foo
.
call
()