aboutsummaryrefslogtreecommitdiff
path: root/test/transform/resource/after-ecj/BuilderInstanceMethod.java
blob: 5f57aef70574de4a9c08baa07e372fa52af878c1 (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
import java.util.List;
class BuilderInstanceMethod<T> {
  public @java.lang.SuppressWarnings("all") class StringBuilder {
    private @java.lang.SuppressWarnings("all") int show;
    private @java.lang.SuppressWarnings("all") int yes;
    private @java.lang.SuppressWarnings("all") List<T> also;
    private @java.lang.SuppressWarnings("all") int $andMe;
    @java.lang.SuppressWarnings("all") StringBuilder() {
      super();
    }
    public @java.lang.SuppressWarnings("all") StringBuilder show(final int show) {
      this.show = show;
      return this;
    }
    public @java.lang.SuppressWarnings("all") StringBuilder yes(final int yes) {
      this.yes = yes;
      return this;
    }
    public @java.lang.SuppressWarnings("all") StringBuilder also(final List<T> also) {
      this.also = also;
      return this;
    }
    public @java.lang.SuppressWarnings("all") StringBuilder $andMe(final int $andMe) {
      this.$andMe = $andMe;
      return this;
    }
    public @java.lang.SuppressWarnings("all") String build() {
      return BuilderInstanceMethod.this.create(show, yes, also, $andMe);
    }
    public @java.lang.Override @java.lang.SuppressWarnings("all") java.lang.String toString() {
      return (((((((("BuilderInstanceMethod.StringBuilder(show=" + this.show) + ", yes=") + this.yes) + ", also=") + this.also) + ", $andMe=") + this.$andMe) + ")");
    }
  }
  BuilderInstanceMethod() {
    super();
  }
  public @lombok.Builder String create(int show, final int yes, List<T> also, int $andMe) {
    return (((("" + show) + yes) + also) + $andMe);
  }
  public @java.lang.SuppressWarnings("all") StringBuilder builder() {
    return new StringBuilder();
  }
}