diff options
author | Reinier Zwitserloot <reinier@zwitserloot.com> | 2015-01-12 05:59:20 +0100 |
---|---|---|
committer | Reinier Zwitserloot <reinier@zwitserloot.com> | 2015-01-12 05:59:20 +0100 |
commit | d700d54ed6c7d171a6498b8727a8e4cfbe8454e2 (patch) | |
tree | 30860c5f8004345a8041a029c9213581f9c4f2bd /test/transform/resource/before/BuilderSingletonGuavaMaps.java | |
parent | b0be6f5a134872b9b9da05cac645ad81754cb5ce (diff) | |
download | lombok-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.java | 12 |
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; +} |