aboutsummaryrefslogtreecommitdiff
path: root/test/transform/resource/before
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
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')
-rw-r--r--test/transform/resource/before/BuilderSingletonMaps.java12
-rw-r--r--test/transform/resource/before/BuilderSingletonSets.java (renamed from test/transform/resource/before/BuilderSingletons.java)2
2 files changed, 13 insertions, 1 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;
+}
diff --git a/test/transform/resource/before/BuilderSingletons.java b/test/transform/resource/before/BuilderSingletonSets.java
index 7722f7d1..a9f12913 100644
--- a/test/transform/resource/before/BuilderSingletons.java
+++ b/test/transform/resource/before/BuilderSingletonSets.java
@@ -4,7 +4,7 @@ import java.util.SortedSet;
import lombok.Singular;
@lombok.Builder
-class BuilderSingletons<T> {
+class BuilderSingletonSets<T> {
@Singular private Set<T> dangerMice;
@Singular private SortedSet<? extends Number> octopodes;
@Singular("rawSet") private Set rawSet;