Sign in
android
/
platform
/
tools
/
idea
/
9b5d02ac8c92b1e71523cc15cb3d168d57fbd898
/
.
/
plugins
/
groovy
/
testdata
/
groovy
/
dsl
/
transform
/
NewifyTransform2.groovy
blob: c9dd73b3e577186ae0a18b8f35713ec86c38ef5e [
file
] [
log
] [
blame
]
class
Tree
{
Tree
(
Tree
l
,
Tree
r
)
{
}
}
class
Leaf
extends
Tree
{
Leaf
(
int
value
)
{}
Leaf
(
String
value
)
{}
}
@Newify
([
Tree
,
Leaf
])
buildTree
()
{
Tree
(
Tree
(
Leaf
(
1
),
Leaf
(
2
)),
Lea
<caret>
)
}