diff options
Diffstat (limited to 'test/transform/resource/after-delombok')
-rw-r--r-- | test/transform/resource/after-delombok/Helper.java | 23 |
1 files changed, 13 insertions, 10 deletions
diff --git a/test/transform/resource/after-delombok/Helper.java b/test/transform/resource/after-delombok/Helper.java index 52f50dd2..64ecb492 100644 --- a/test/transform/resource/after-delombok/Helper.java +++ b/test/transform/resource/after-delombok/Helper.java @@ -1,15 +1,18 @@ class HelperTest { - void test() { - class H1 { - void foo() { - System.out.println("Hello"); + { + final int z = 5; + if (Boolean.TRUE) { + class H1 { + void foo(int x) { + System.out.println("Hello, " + (x + z)); + } } - } - final H1 $H1 = new H1(); - $H1.foo(); - class H2 { - void bar() { - $H1.foo(); + final H1 $H1 = new H1(); + $H1.foo(10); + class H2 { + void bar() { + $H1.foo(12); + } } } } |