aboutsummaryrefslogtreecommitdiff
path: root/test/transform/resource/before/FieldDefaults.java
diff options
context:
space:
mode:
Diffstat (limited to 'test/transform/resource/before/FieldDefaults.java')
-rw-r--r--test/transform/resource/before/FieldDefaults.java15
1 files changed, 15 insertions, 0 deletions
diff --git a/test/transform/resource/before/FieldDefaults.java b/test/transform/resource/before/FieldDefaults.java
new file mode 100644
index 00000000..ffe89734
--- /dev/null
+++ b/test/transform/resource/before/FieldDefaults.java
@@ -0,0 +1,15 @@
+@lombok.experimental.FieldDefaults(makeFinal = true)
+class FieldDefaults1 {
+ int x;
+ @lombok.experimental.NonFinal int y;
+
+ FieldDefaults1(int x) {
+ this.x = x;
+ }
+}
+
+@lombok.experimental.FieldDefaults(level = lombok.AccessLevel.PRIVATE)
+class FieldDefaults2 {
+ @lombok.experimental.PackagePrivate int x;
+ int y;
+} \ No newline at end of file