aboutsummaryrefslogtreecommitdiff
path: root/test/transform/resource/after-ecj/BuilderSimple.java
blob: e371f32010a40d0d15b9194a5a167af7d8400cd3 (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
import java.util.List;
@lombok.Builder(access = lombok.AccessLevel.PROTECTED) class BuilderSimple<T> {
  protected static @java.lang.SuppressWarnings("all") class BuilderSimpleBuilder<T> {
    private @java.lang.SuppressWarnings("all") int yes;
    private @java.lang.SuppressWarnings("all") List<T> also;
    @java.lang.SuppressWarnings("all") BuilderSimpleBuilder() {
      super();
    }
    public @java.lang.SuppressWarnings("all") BuilderSimple.BuilderSimpleBuilder<T> yes(final int yes) {
      this.yes = yes;
      return this;
    }
    public @java.lang.SuppressWarnings("all") BuilderSimple.BuilderSimpleBuilder<T> also(final List<T> also) {
      this.also = also;
      return this;
    }
    public @java.lang.SuppressWarnings("all") BuilderSimple<T> build() {
      return new BuilderSimple<T>(yes, also);
    }
    public @java.lang.Override @java.lang.SuppressWarnings("all") java.lang.String toString() {
      return (((("BuilderSimple.BuilderSimpleBuilder(yes=" + this.yes) + ", also=") + this.also) + ")");
    }
  }
  private final int noshow = 0;
  private final int yes;
  private List<T> also;
  private int $butNotMe;
  @java.lang.SuppressWarnings("all") BuilderSimple(final int yes, final List<T> also) {
    super();
    this.yes = yes;
    this.also = also;
  }
  protected static @java.lang.SuppressWarnings("all") <T>BuilderSimple.BuilderSimpleBuilder<T> builder() {
    return new BuilderSimple.BuilderSimpleBuilder<T>();
  }
}