aboutsummaryrefslogtreecommitdiff
path: root/usage_examples/BuilderExample_pre.jpage
diff options
context:
space:
mode:
authorReinier Zwitserloot <reinier@zwitserloot.com>2015-01-26 08:46:41 +0100
committerReinier Zwitserloot <reinier@zwitserloot.com>2015-01-26 08:46:41 +0100
commit63aefa41e432a050496e9f96c6ce570dde276e18 (patch)
tree4d5fb71e5d9c2a3dd865ede63c6b5ef70f0d1d0a /usage_examples/BuilderExample_pre.jpage
parent7bb2ed02c3891d240840110abb0a79949947cc16 (diff)
downloadlombok-63aefa41e432a050496e9f96c6ce570dde276e18.tar.gz
lombok-63aefa41e432a050496e9f96c6ce570dde276e18.tar.bz2
lombok-63aefa41e432a050496e9f96c6ce570dde276e18.zip
documentation for @Singular.
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;
+}