| def getGeneratedFileNames() { |
| if (true) { |
| return <selection>QasdWfsdEdfgh.foo().f.test</selection>() |
| } |
| else 42 |
| } |
| |
| class QasdWfsdEdfgh extends R { |
| |
| static def test() { |
| foo = 42; |
| boo() |
| boo1() |
| def qual = 48 |
| println(foo) |
| return foo |
| } |
| |
| QasdWfsdEdfgh f = this |
| |
| static void boo() { |
| println "aaa" |
| } |
| |
| static foo() { |
| return new QasdWfsdEdfgh() |
| } |
| |
| } |
| |
| class R { |
| void boo1() { |
| println "aaa" |
| } |
| } |
| ----- |
| def getGeneratedFileNames() { |
| if (true) { |
| def f = QasdWfsdEdfgh.foo().f |
| foo = 42 |
| f.boo() |
| f.boo1() |
| def qual = 48 |
| println(foo) |
| return foo |
| } |
| else 42 |
| } |
| |
| class QasdWfsdEdfgh extends R { |
| |
| static def test() { |
| foo = 42; |
| boo() |
| boo1() |
| def qual = 48 |
| println(foo) |
| return foo |
| } |
| |
| QasdWfsdEdfgh f = this |
| |
| static void boo() { |
| println "aaa" |
| } |
| |
| static foo() { |
| return new QasdWfsdEdfgh() |
| } |
| |
| } |
| |
| class R { |
| void boo1() { |
| println "aaa" |
| } |
| } |