aboutsummaryrefslogtreecommitdiff
path: root/test/transform/resource/after-ecj/Helper.java
blob: 1b4e8bd2aaffa2e38f6c9bada927f7fec43ba9c3 (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
import lombok.experimental.Helper;
class HelperTest {
  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();
      }
    }
  }
}