aboutsummaryrefslogtreecommitdiff
path: root/test/transform/resource/before/Helper.java
diff options
context:
space:
mode:
Diffstat (limited to 'test/transform/resource/before/Helper.java')
-rw-r--r--test/transform/resource/before/Helper.java25
1 files changed, 14 insertions, 11 deletions
diff --git a/test/transform/resource/before/Helper.java b/test/transform/resource/before/Helper.java
index 145d740f..cec9c7ce 100644
--- a/test/transform/resource/before/Helper.java
+++ b/test/transform/resource/before/Helper.java
@@ -1,18 +1,21 @@
import lombok.experimental.Helper;
class HelperTest {
- void test() {
- @Helper class H1 {
- void foo() {
- System.out.println("Hello");
+ {
+ final int z = 5;
+ if (Boolean.TRUE) {
+ @Helper class H1 {
+ void foo(int x) {
+ System.out.println("Hello, " + (x + z));
+ }
}
- }
-
- foo();
-
- @Helper class H2 {
- void bar() {
- foo();
+
+ foo(10);
+
+ @Helper class H2 {
+ void bar() {
+ foo(12);
+ }
}
}
}