aboutsummaryrefslogtreecommitdiff
path: root/test/transform/resource/after-ecj/UtilityClass.java
blob: 1db3d5402a92966dc93c4dd9368798091067c9f3 (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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
final @lombok.experimental.UtilityClass class UtilityClass {
  protected static class InnerClass {
    private String innerInnerMember;
    protected InnerClass() {
      super();
    }
  }
  protected static class InnerStaticClass {
    private String innerInnerMember;
    protected InnerStaticClass() {
      super();
    }
  }
  private static long someField = System.currentTimeMillis();
  <clinit>() {
  }
  static void someMethod() {
    System.out.println();
    new InnerClass();
    new InnerStaticClass();
  }
  private @java.lang.SuppressWarnings("all") UtilityClass() {
    super();
    throw new java.lang.UnsupportedOperationException("This is a utility class and cannot be instantiated");
  }
}
class UtilityInner {
  static class InnerInner {
    static final @lombok.experimental.UtilityClass class InnerInnerInner {
      static int member;
      <clinit>() {
      }
      private @java.lang.SuppressWarnings("all") InnerInnerInner() {
        super();
        throw new java.lang.UnsupportedOperationException("This is a utility class and cannot be instantiated");
      }
    }
    InnerInner() {
      super();
    }
  }
  enum UtilityInsideEnum {
    static final @lombok.experimental.UtilityClass class InsideEnum {
      static int member;
      <clinit>() {
      }
      private @java.lang.SuppressWarnings("all") InsideEnum() {
        super();
        throw new java.lang.UnsupportedOperationException("This is a utility class and cannot be instantiated");
      }
    }
    FOO(),
    BAR(),
    <clinit>() {
    }
    UtilityInsideEnum() {
      super();
    }
  }
  interface UtilityInsideInterface {
    final @lombok.experimental.UtilityClass class InsideInterface {
      static int member;
      <clinit>() {
      }
      private @java.lang.SuppressWarnings("all") InsideInterface() {
        super();
        throw new java.lang.UnsupportedOperationException("This is a utility class and cannot be instantiated");
      }
    }
  }
  UtilityInner() {
    super();
  }
}