aboutsummaryrefslogtreecommitdiff
path: root/test/transform/resource/before/ValueStaticConstructorOf.java
diff options
context:
space:
mode:
Diffstat (limited to 'test/transform/resource/before/ValueStaticConstructorOf.java')
-rw-r--r--test/transform/resource/before/ValueStaticConstructorOf.java12
1 files changed, 12 insertions, 0 deletions
diff --git a/test/transform/resource/before/ValueStaticConstructorOf.java b/test/transform/resource/before/ValueStaticConstructorOf.java
new file mode 100644
index 00000000..ac857ffd
--- /dev/null
+++ b/test/transform/resource/before/ValueStaticConstructorOf.java
@@ -0,0 +1,12 @@
+import lombok.Value;
+@Value(staticConstructor = "of")
+public class ValueStaticConstructorOf {
+
+ String name;
+ Double price;
+
+ private ValueStaticConstructorOf(String name, Double price) {
+ this.name = name;
+ this.price = price;
+ }
+}