aboutsummaryrefslogtreecommitdiff
path: root/test/transform/resource/before
diff options
context:
space:
mode:
Diffstat (limited to 'test/transform/resource/before')
-rw-r--r--test/transform/resource/before/ConstructorsWithBuilderDefaults.java8
-rw-r--r--test/transform/resource/before/ConstructorsWithBuilderDefaults2.java8
2 files changed, 16 insertions, 0 deletions
diff --git a/test/transform/resource/before/ConstructorsWithBuilderDefaults.java b/test/transform/resource/before/ConstructorsWithBuilderDefaults.java
new file mode 100644
index 00000000..5dd2940b
--- /dev/null
+++ b/test/transform/resource/before/ConstructorsWithBuilderDefaults.java
@@ -0,0 +1,8 @@
+import lombok.AllArgsConstructor;
+import lombok.NoArgsConstructor;
+import lombok.Value;
+import lombok.Builder;
+
+@NoArgsConstructor @AllArgsConstructor @Builder @Value class ConstructorsWithBuilderDefaults {
+ @Builder.Default int x = 5;
+}
diff --git a/test/transform/resource/before/ConstructorsWithBuilderDefaults2.java b/test/transform/resource/before/ConstructorsWithBuilderDefaults2.java
new file mode 100644
index 00000000..38300390
--- /dev/null
+++ b/test/transform/resource/before/ConstructorsWithBuilderDefaults2.java
@@ -0,0 +1,8 @@
+//CONF: lombok.noArgsConstructor.extraPrivate = true
+import lombok.NoArgsConstructor;
+import lombok.Value;
+import lombok.Builder;
+
+@Builder @Value class ConstructorsWithBuilderDefaults {
+ @Builder.Default int x = 5;
+}