From d700d54ed6c7d171a6498b8727a8e4cfbe8454e2 Mon Sep 17 00:00:00 2001 From: Reinier Zwitserloot Date: Mon, 12 Jan 2015 05:59:20 +0100 Subject: added singleton builder support for javac: guava maps. --- .../transform/resource/before/BuilderSingletonGuavaMaps.java | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 test/transform/resource/before/BuilderSingletonGuavaMaps.java (limited to 'test/transform/resource/before/BuilderSingletonGuavaMaps.java') 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 { + @Singular private ImmutableMap battleaxes; + @Singular private ImmutableSortedMap vertices; + @Singular("rawMap") private ImmutableBiMap rawMap; +} -- cgit