aboutsummaryrefslogtreecommitdiff
path: root/test/transform/resource/after-ecj/WithOnRecord.java
blob: 5ab8d6ac1fda025264baf536f0a383ddb84a4fbb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
import lombok.With;
@With record WithOnRecord(String a, String b) {
/* Implicit */  private final String a;
/* Implicit */  private final String b;
  public WithOnRecord(String a, String b) {
    super();
    .a = a;
    .b = b;
  }
  public @java.lang.SuppressWarnings("all") WithOnRecord withA(final String a) {
    return ((this.a == a) ? this : new WithOnRecord(a, this.b));
  }
  public @java.lang.SuppressWarnings("all") WithOnRecord withB(final String b) {
    return ((this.b == b) ? this : new WithOnRecord(this.a, b));
  }
}