aboutsummaryrefslogtreecommitdiff
path: root/test/transform/resource/after-ecj/SuperBuilderInitializer.java
blob: 9143be94313530e70f40b64c6097d4855134db45 (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
import lombok.experimental.SuperBuilder;
class SuperBuilderInitializer {
  public static @SuperBuilder class One {
    public static abstract @java.lang.SuppressWarnings("all") class OneBuilder<C extends SuperBuilderInitializer.One, B extends SuperBuilderInitializer.One.OneBuilder<C, B>> {
      private @java.lang.SuppressWarnings("all") String world;
      public OneBuilder() {
        super();
      }
      /**
       * @return {@code this}.
       */
      public @java.lang.SuppressWarnings("all") B world(final String world) {
        this.world = world;
        return self();
      }
      protected abstract @java.lang.SuppressWarnings("all") B self();
      public abstract @java.lang.SuppressWarnings("all") C build();
      public @java.lang.Override @java.lang.SuppressWarnings("all") java.lang.String toString() {
        return (("SuperBuilderInitializer.One.OneBuilder(world=" + this.world) + ")");
      }
    }
    private static final @java.lang.SuppressWarnings("all") class OneBuilderImpl extends SuperBuilderInitializer.One.OneBuilder<SuperBuilderInitializer.One, SuperBuilderInitializer.One.OneBuilderImpl> {
      private OneBuilderImpl() {
        super();
      }
      protected @java.lang.Override @java.lang.SuppressWarnings("all") SuperBuilderInitializer.One.OneBuilderImpl self() {
        return this;
      }
      public @java.lang.Override @java.lang.SuppressWarnings("all") SuperBuilderInitializer.One build() {
        return new SuperBuilderInitializer.One(this);
      }
    }
    private String world;
    {
      world = "Hello";
    }
    private static final String world2;
    static {
      world2 = "Hello";
    }
    <clinit>() {
    }
    protected @java.lang.SuppressWarnings("all") One(final SuperBuilderInitializer.One.OneBuilder<?, ?> b) {
      super();
      this.world = b.world;
    }
    public static @java.lang.SuppressWarnings("all") SuperBuilderInitializer.One.OneBuilder<?, ?> builder() {
      return new SuperBuilderInitializer.One.OneBuilderImpl();
    }
  }
  SuperBuilderInitializer() {
    super();
  }
}