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