aboutsummaryrefslogtreecommitdiff
path: root/test/transform/resource/after-ecj/WithByOnRecord.java
diff options
context:
space:
mode:
Diffstat (limited to 'test/transform/resource/after-ecj/WithByOnRecord.java')
-rw-r--r--test/transform/resource/after-ecj/WithByOnRecord.java13
1 files changed, 13 insertions, 0 deletions
diff --git a/test/transform/resource/after-ecj/WithByOnRecord.java b/test/transform/resource/after-ecj/WithByOnRecord.java
new file mode 100644
index 00000000..9048c9f4
--- /dev/null
+++ b/test/transform/resource/after-ecj/WithByOnRecord.java
@@ -0,0 +1,13 @@
+import lombok.experimental.WithBy;
+record WithByOnRecord(String a, String b) {
+/* Implicit */ private final String a;
+/* Implicit */ private final String b;
+ public WithByOnRecord( String a, String b) {
+ super();
+ .a = a;
+ .b = b;
+ }
+ public @java.lang.SuppressWarnings("all") WithByOnRecord withABy(final java.util.function.Function<? super String, ? extends String> transformer) {
+ return new WithByOnRecord(transformer.apply(this.a), this.b);
+ }
+}