aboutsummaryrefslogtreecommitdiff
path: root/test/transform/resource/before/BuilderSingletonMaps.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/BuilderSingletonMaps.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/BuilderSingletonMaps.java')
-rw-r--r--test/transform/resource/before/BuilderSingletonMaps.java12
1 files changed, 12 insertions, 0 deletions
diff --git a/test/transform/resource/before/BuilderSingletonMaps.java b/test/transform/resource/before/BuilderSingletonMaps.java
new file mode 100644
index 00000000..00928e73
--- /dev/null
+++ b/test/transform/resource/before/BuilderSingletonMaps.java
@@ -0,0 +1,12 @@
+import java.util.Map;
+import java.util.SortedMap;
+
+import lombok.Singular;
+
+@lombok.Builder
+class BuilderSingletonMaps<K, V> {
+ @Singular private Map<K, V> women;
+ @Singular private SortedMap<K, ? extends Number> men;
+ @Singular("rawMap") private Map rawMap;
+ @Singular("stringMap") private Map<String, V> stringMap;
+}