aboutsummaryrefslogtreecommitdiff
path: root/test/transform/resource/before/BuilderSingletonSets.java
diff options
context:
space:
mode:
authorReinier Zwitserloot <reinier@zwitserloot.com>2015-01-11 22:38:22 +0100
committerReinier Zwitserloot <reinier@zwitserloot.com>2015-01-11 22:38:22 +0100
commit6894fa31e888c19b879385b6fd852b7ff0b3d475 (patch)
tree986f437b90c891c0ceaf1a3b9fb5efa54cbc8a37 /test/transform/resource/before/BuilderSingletonSets.java
parent8bfd1a2767b2021b65be6d29fdb2a512be8fe05b (diff)
downloadlombok-6894fa31e888c19b879385b6fd852b7ff0b3d475.tar.gz
lombok-6894fa31e888c19b879385b6fd852b7ff0b3d475.tar.bz2
lombok-6894fa31e888c19b879385b6fd852b7ff0b3d475.zip
Set @Singularize code for javac improved, Map @Singularize added.
Diffstat (limited to 'test/transform/resource/before/BuilderSingletonSets.java')
-rw-r--r--test/transform/resource/before/BuilderSingletonSets.java12
1 files changed, 12 insertions, 0 deletions
diff --git a/test/transform/resource/before/BuilderSingletonSets.java b/test/transform/resource/before/BuilderSingletonSets.java
new file mode 100644
index 00000000..a9f12913
--- /dev/null
+++ b/test/transform/resource/before/BuilderSingletonSets.java
@@ -0,0 +1,12 @@
+import java.util.Set;
+import java.util.SortedSet;
+
+import lombok.Singular;
+
+@lombok.Builder
+class BuilderSingletonSets<T> {
+ @Singular private Set<T> dangerMice;
+ @Singular private SortedSet<? extends Number> octopodes;
+ @Singular("rawSet") private Set rawSet;
+ @Singular("stringSet") private Set<String> stringSet;
+}