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/BuilderWithNonNull.java5
-rw-r--r--test/transform/resource/before/JacksonJsonProperty.java10
2 files changed, 15 insertions, 0 deletions
diff --git a/test/transform/resource/before/BuilderWithNonNull.java b/test/transform/resource/before/BuilderWithNonNull.java
new file mode 100644
index 00000000..03a54326
--- /dev/null
+++ b/test/transform/resource/before/BuilderWithNonNull.java
@@ -0,0 +1,5 @@
+@lombok.Builder
+class BuilderWithNonNull {
+ @lombok.NonNull
+ private final String id;
+}
diff --git a/test/transform/resource/before/JacksonJsonProperty.java b/test/transform/resource/before/JacksonJsonProperty.java
new file mode 100644
index 00000000..f002dc48
--- /dev/null
+++ b/test/transform/resource/before/JacksonJsonProperty.java
@@ -0,0 +1,10 @@
+import com.fasterxml.jackson.annotation.JsonProperty;
+import lombok.Builder;
+import lombok.Setter;
+
+@Builder
+public class JacksonJsonProperty {
+ @JsonProperty("kebab-case-prop")
+ @Setter
+ public String kebabCaseProp;
+}