aboutsummaryrefslogtreecommitdiff
path: root/test/transform/resource/after-ecj/Helper.java
blob: 44c2a1713438c29d4513602de2edf170723922ee (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
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();
  }
}