aboutsummaryrefslogtreecommitdiff
path: root/test/transform/resource/after-delombok
diff options
context:
space:
mode:
Diffstat (limited to 'test/transform/resource/after-delombok')
-rw-r--r--test/transform/resource/after-delombok/FieldDefaultsViaConfig.java11
-rw-r--r--test/transform/resource/after-delombok/FieldDefaultsViaConfigAndRequiredArgsConstructor.java9
2 files changed, 20 insertions, 0 deletions
diff --git a/test/transform/resource/after-delombok/FieldDefaultsViaConfig.java b/test/transform/resource/after-delombok/FieldDefaultsViaConfig.java
new file mode 100644
index 00000000..096769b6
--- /dev/null
+++ b/test/transform/resource/after-delombok/FieldDefaultsViaConfig.java
@@ -0,0 +1,11 @@
+class FieldDefaultsViaConfig1 {
+ private final int x;
+ private int y;
+ FieldDefaultsViaConfig1(int x) {
+ this.x = x;
+ }
+}
+class FieldDefaultsViaConfig2 {
+ final int x = 2;
+ protected final int y = 0;
+} \ No newline at end of file
diff --git a/test/transform/resource/after-delombok/FieldDefaultsViaConfigAndRequiredArgsConstructor.java b/test/transform/resource/after-delombok/FieldDefaultsViaConfigAndRequiredArgsConstructor.java
new file mode 100644
index 00000000..ebe6e2ed
--- /dev/null
+++ b/test/transform/resource/after-delombok/FieldDefaultsViaConfigAndRequiredArgsConstructor.java
@@ -0,0 +1,9 @@
+class FieldDefaultsViaConfigAndRequiredArgsConstructor {
+ final int x;
+ @java.beans.ConstructorProperties({"x"})
+ @java.lang.SuppressWarnings("all")
+ @javax.annotation.Generated("lombok")
+ public FieldDefaultsViaConfigAndRequiredArgsConstructor(final int x) {
+ this.x = x;
+ }
+} \ No newline at end of file