aboutsummaryrefslogtreecommitdiff
path: root/test/transform/resource/after-ecj/ConstructorsInAnonymousClass.java
blob: 545ab04d0ca06d6568895e15aadd9308ffb2c595 (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
import lombok.AllArgsConstructor;
import lombok.NoArgsConstructor;
import lombok.NonNull;
import lombok.RequiredArgsConstructor;
public class ConstructorsInAnonymousClass {
  Object annonymous = new Object() {
    @AllArgsConstructor @RequiredArgsConstructor @NoArgsConstructor class Inner {
      private String string;
      private @NonNull String string2;
      public @java.lang.SuppressWarnings("all") Inner(final String string, final @NonNull String string2) {
        super();
        if ((string2 == null))
            {
              throw new java.lang.NullPointerException("string2 is marked non-null but is null");
            }
        this.string = string;
        this.string2 = string2;
      }
      public @java.lang.SuppressWarnings("all") Inner(final @NonNull String string2) {
        super();
        if ((string2 == null))
            {
              throw new java.lang.NullPointerException("string2 is marked non-null but is null");
            }
        this.string2 = string2;
      }
      public @java.lang.SuppressWarnings("all") Inner() {
        super();
      }
    }
    x() {
      super();
    }
  };
  public ConstructorsInAnonymousClass() {
    super();
  }
}