diff options
Diffstat (limited to 'test/transform/resource/after-ecj')
-rw-r--r-- | test/transform/resource/after-ecj/Helper.java | 44 |
1 files changed, 24 insertions, 20 deletions
diff --git a/test/transform/resource/after-ecj/Helper.java b/test/transform/resource/after-ecj/Helper.java index 1b4e8bd2..44c2a171 100644 --- a/test/transform/resource/after-ecj/Helper.java +++ b/test/transform/resource/after-ecj/Helper.java @@ -1,26 +1,30 @@ import lombok.experimental.Helper; class HelperTest { + { + final int z = 5; + if (Boolean.TRUE) + { + @Helper class H1 { + H1() { + super(); + } + void foo(int x) { + System.out.println(("Hello, " + (x + z))); + } + } + final H1 $H1 = new H1(); + $H1.foo(10); + @Helper class H2 { + H2() { + super(); + } + void bar() { + $H1.foo(12); + } + } + } + } HelperTest() { super(); } - void test() { - @Helper class H1 { - H1() { - super(); - } - void foo() { - System.out.println("Hello"); - } - } - final H1 $H1 = new H1(); - $H1.foo(); - @Helper class H2 { - H2() { - super(); - } - void bar() { - $H1.foo(); - } - } - } } |