aboutsummaryrefslogtreecommitdiff
path: root/usage_examples/BuilderExample_pre.jpage
diff options
context:
space:
mode:
Diffstat (limited to 'usage_examples/BuilderExample_pre.jpage')
-rw-r--r--usage_examples/BuilderExample_pre.jpage10
1 files changed, 10 insertions, 0 deletions
diff --git a/usage_examples/BuilderExample_pre.jpage b/usage_examples/BuilderExample_pre.jpage
new file mode 100644
index 00000000..374799ad
--- /dev/null
+++ b/usage_examples/BuilderExample_pre.jpage
@@ -0,0 +1,10 @@
+import lombok.Builder;
+import lombok.Singular;
+import java.util.Set;
+
+@Builder
+public class BuilderExample {
+ private String name;
+ private int age;
+ @Singular Set<String> occupations;
+}