aboutsummaryrefslogtreecommitdiff
path: root/test/transform/resource/after-ecj/BuilderDefaultsArray.java
blob: d25e037134aef72eaef59bac984f21d2ab04e636 (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
import lombok.Builder;
import lombok.Value;
public @Builder class BuilderDefaultsArray {
  public static @java.lang.SuppressWarnings("all") class BuilderDefaultsArrayBuilder {
    private @java.lang.SuppressWarnings("all") int[] x$value;
    private @java.lang.SuppressWarnings("all") boolean x$set;
    private @java.lang.SuppressWarnings("all") java.lang.String[][] y$value;
    private @java.lang.SuppressWarnings("all") boolean y$set;
    @java.lang.SuppressWarnings("all") BuilderDefaultsArrayBuilder() {
      super();
    }
    /**
     * @return {@code this}.
     */
    public @java.lang.SuppressWarnings("all") BuilderDefaultsArray.BuilderDefaultsArrayBuilder x(final int[] x) {
      this.x$value = x;
      x$set = true;
      return this;
    }
    /**
     * @return {@code this}.
     */
    public @java.lang.SuppressWarnings("all") BuilderDefaultsArray.BuilderDefaultsArrayBuilder y(final java.lang.String[][] y) {
      this.y$value = y;
      y$set = true;
      return this;
    }
    public @java.lang.SuppressWarnings("all") BuilderDefaultsArray build() {
      int[] x$value = this.x$value;
      if ((! this.x$set))
          x$value = BuilderDefaultsArray.$default$x();
      java.lang.String[][] y$value = this.y$value;
      if ((! this.y$set))
          y$value = BuilderDefaultsArray.$default$y();
      return new BuilderDefaultsArray(x$value, y$value);
    }
    public @java.lang.Override @java.lang.SuppressWarnings("all") java.lang.String toString() {
      return (((("BuilderDefaultsArray.BuilderDefaultsArrayBuilder(x$value=" + java.util.Arrays.toString(this.x$value)) + ", y$value=") + java.util.Arrays.deepToString(this.y$value)) + ")");
    }
  }
  @Builder.Default int[] x;
  @Builder.Default java.lang.String[][] y;
  private static @java.lang.SuppressWarnings("all") int[] $default$x() {
    return new int[]{1, 2};
  }
  private static @java.lang.SuppressWarnings("all") java.lang.String[][] $default$y() {
    return new java.lang.String[][]{};
  }
  @java.lang.SuppressWarnings("all") BuilderDefaultsArray(final int[] x, final java.lang.String[][] y) {
    super();
    this.x = x;
    this.y = y;
  }
  public static @java.lang.SuppressWarnings("all") BuilderDefaultsArray.BuilderDefaultsArrayBuilder builder() {
    return new BuilderDefaultsArray.BuilderDefaultsArrayBuilder();
  }
}