aboutsummaryrefslogtreecommitdiff
path: root/test/transform/resource/after-ecj/WithByOnRecordComponent.java
blob: efc621618ce7bc73886c9723c09f74a9f4521498 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
// version 14:
import lombok.experimental.WithBy;
public record WithByOnRecordComponent(String a, String b) {
/* Implicit */  private final String a;
/* Implicit */  private final String b;
  public WithByOnRecordComponent( String a, String b) {
    super();
    .a = a;
    .b = b;
  }
  public @java.lang.SuppressWarnings("all") WithByOnRecordComponent withABy(final java.util.function.Function<? super String, ? extends String> transformer) {
    return new WithByOnRecordComponent(transformer.apply(this.a), this.b);
  }
}