aboutsummaryrefslogtreecommitdiff
path: root/test/transform/resource/before
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/before
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/before')
-rw-r--r--test/transform/resource/before/FieldDefaultsViaConfigOnRecord.java7
1 files changed, 7 insertions, 0 deletions
diff --git a/test/transform/resource/before/FieldDefaultsViaConfigOnRecord.java b/test/transform/resource/before/FieldDefaultsViaConfigOnRecord.java
new file mode 100644
index 00000000..e72179e9
--- /dev/null
+++ b/test/transform/resource/before/FieldDefaultsViaConfigOnRecord.java
@@ -0,0 +1,7 @@
+// version 14:
+//CONF: lombok.fieldDefaults.defaultFinal = true
+//CONF: lombok.fieldDefaults.defaultPrivate = true
+//unchanged
+
+public record FieldDefaultsViaConfigOnRecord(String a, String b) {
+} \ No newline at end of file