aboutsummaryrefslogtreecommitdiff
path: root/test/transform/resource/after-ecj/CleanupName.java
blob: 8948e91d9a838ed669bc4f85dc2934c6002e274b (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
31
32
33
class CleanupName {
  CleanupName() {
    super();
  }
  void test() {
    @lombok.Cleanup("toString") Object o = "Hello World!";
    try 
      {
        System.out.println(o);
      }
    finally
      {
        if ((lombok.Lombok.preventNullAnalysis(o) != null))
            {
              o.toString();
            }
      }
  }
  void test2() {
    @lombok.Cleanup(value = "toString") Object o = "Hello World too!";
    try 
      {
        System.out.println(o);
      }
    finally
      {
        if ((lombok.Lombok.preventNullAnalysis(o) != null))
            {
              o.toString();
            }
      }
  }
}