aboutsummaryrefslogtreecommitdiff
path: root/test/transform/resource/after-ecj
diff options
context:
space:
mode:
authorRawi01 <Rawi01@users.noreply.github.com>2021-10-22 10:15:29 +0200
committerRawi01 <Rawi01@users.noreply.github.com>2021-10-22 10:18:07 +0200
commit1d7db8c4dfa2f7a26d9816398947f6e76e506093 (patch)
treec978347378b6c9cd6a31770ac3780193ad13896b /test/transform/resource/after-ecj
parent8bbac04478cb088eedceb4c63dcb45e30f0948ed (diff)
downloadlombok-1d7db8c4dfa2f7a26d9816398947f6e76e506093.tar.gz
lombok-1d7db8c4dfa2f7a26d9816398947f6e76e506093.tar.bz2
lombok-1d7db8c4dfa2f7a26d9816398947f6e76e506093.zip
[fixes #2995] Skip records for field defaults via config
Diffstat (limited to 'test/transform/resource/after-ecj')
-rw-r--r--test/transform/resource/after-ecj/FieldDefaultsViaConfigOnRecord.java10
1 files changed, 10 insertions, 0 deletions
diff --git a/test/transform/resource/after-ecj/FieldDefaultsViaConfigOnRecord.java b/test/transform/resource/after-ecj/FieldDefaultsViaConfigOnRecord.java
new file mode 100644
index 00000000..44ef0d4c
--- /dev/null
+++ b/test/transform/resource/after-ecj/FieldDefaultsViaConfigOnRecord.java
@@ -0,0 +1,10 @@
+// version 14:
+public record FieldDefaultsViaConfigOnRecord(String a, String b) {
+/* Implicit */ private final String a;
+/* Implicit */ private final String b;
+ public FieldDefaultsViaConfigOnRecord(String a, String b) {
+ super();
+ .a = a;
+ .b = b;
+ }
+} \ No newline at end of file