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.java3
-rw-r--r--test/transform/resource/before/ConstructorsWithBuilderDefaults2.java6
2 files changed, 6 insertions, 3 deletions
diff --git a/test/transform/resource/before/ConstructorsWithBuilderDefaults.java b/test/transform/resource/before/ConstructorsWithBuilderDefaults.java
index 5dd2940b..683cffe5 100644
--- a/test/transform/resource/before/ConstructorsWithBuilderDefaults.java
+++ b/test/transform/resource/before/ConstructorsWithBuilderDefaults.java
@@ -3,6 +3,7 @@ import lombok.NoArgsConstructor;
import lombok.Value;
import lombok.Builder;
-@NoArgsConstructor @AllArgsConstructor @Builder @Value class ConstructorsWithBuilderDefaults {
+@NoArgsConstructor(force = true) @AllArgsConstructor @Builder @Value class ConstructorsWithBuilderDefaults {
@Builder.Default int x = 5;
+ int y;
}
diff --git a/test/transform/resource/before/ConstructorsWithBuilderDefaults2.java b/test/transform/resource/before/ConstructorsWithBuilderDefaults2.java
index 38300390..38965371 100644
--- a/test/transform/resource/before/ConstructorsWithBuilderDefaults2.java
+++ b/test/transform/resource/before/ConstructorsWithBuilderDefaults2.java
@@ -3,6 +3,8 @@ import lombok.NoArgsConstructor;
import lombok.Value;
import lombok.Builder;
-@Builder @Value class ConstructorsWithBuilderDefaults {
- @Builder.Default int x = 5;
+@Builder @Value class ConstructorsWithBuilderDefaults<T> {
+ @Builder.Default java.util.List<T> z = new java.util.ArrayList<T>();
+ @Builder.Default T x = null;
+ T q;
}