diff options
Diffstat (limited to 'test/transform/resource/after-ecj/Helper.java')
-rw-r--r-- | test/transform/resource/after-ecj/Helper.java | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/test/transform/resource/after-ecj/Helper.java b/test/transform/resource/after-ecj/Helper.java new file mode 100644 index 00000000..44c2a171 --- /dev/null +++ b/test/transform/resource/after-ecj/Helper.java @@ -0,0 +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(); + } +} |