aboutsummaryrefslogtreecommitdiff
path: root/test/transform/resource/before/BuilderSingletonGuavaMaps.java
diff options
context:
space:
mode:
authorReinier Zwitserloot <reinier@zwitserloot.com>2015-01-12 05:59:20 +0100
committerReinier Zwitserloot <reinier@zwitserloot.com>2015-01-12 05:59:20 +0100
commitd700d54ed6c7d171a6498b8727a8e4cfbe8454e2 (patch)
tree30860c5f8004345a8041a029c9213581f9c4f2bd /test/transform/resource/before/BuilderSingletonGuavaMaps.java
parentb0be6f5a134872b9b9da05cac645ad81754cb5ce (diff)
downloadlombok-d700d54ed6c7d171a6498b8727a8e4cfbe8454e2.tar.gz
lombok-d700d54ed6c7d171a6498b8727a8e4cfbe8454e2.tar.bz2
lombok-d700d54ed6c7d171a6498b8727a8e4cfbe8454e2.zip
added singleton builder support for javac: guava maps.
Diffstat (limited to 'test/transform/resource/before/BuilderSingletonGuavaMaps.java')
-rw-r--r--test/transform/resource/before/BuilderSingletonGuavaMaps.java12
1 files changed, 12 insertions, 0 deletions
diff --git a/test/transform/resource/before/BuilderSingletonGuavaMaps.java b/test/transform/resource/before/BuilderSingletonGuavaMaps.java
new file mode 100644
index 00000000..2271b9d9
--- /dev/null
+++ b/test/transform/resource/before/BuilderSingletonGuavaMaps.java
@@ -0,0 +1,12 @@
+import com.google.common.collect.ImmutableMap;
+import com.google.common.collect.ImmutableBiMap;
+import com.google.common.collect.ImmutableSortedMap;
+
+import lombok.Singular;
+
+@lombok.Builder
+class BuilderSingletonGuavaMaps<K, V> {
+ @Singular private ImmutableMap<K, V> battleaxes;
+ @Singular private ImmutableSortedMap<Integer, ? extends V> vertices;
+ @Singular("rawMap") private ImmutableBiMap rawMap;
+}