Sign in
android
/
platform
/
tools
/
idea
/
9b5d02ac8c92b1e71523cc15cb3d168d57fbd898
/
.
/
plugins
/
groovy
/
testdata
/
refactoring
/
convertGroovyToJava
/
file
/
casts.groovy
blob: 88707ca83db7babd302d8e14a0abb7754cebc77b [
file
] [
log
] [
blame
]
Object
a
=
new
Date
()
Date
d
=
a
def
foo
(
Date
d
)
{}
foo
(
a
)
d
=
a
def
b
=
a
a
+=
2
class
X
{
def
plus
(
X x
){
new
X
()}
}
def
x
=
new
X
()
x
+=
new
X
()
x
=
x
+
x
print
x
X y
=
true
?
x
:
new
X
()