Sign in
◑
Theme
android
/
platform
/
tools
/
idea
/
studio-master-dev
/
.
/
plugins
/
groovy
/
testdata
/
intentions
/
convertMethodToClosure
/
ClosureToMethodWithFieldUsages.groovy
blob: 5b94e7a1b62621384a4912d4ba980ef26cdc8970 [
file
]
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
()