From 4618097d986f08a922191332c87a7d8c73e34f96 Mon Sep 17 00:00:00 2001 From: Reinier Zwitserloot Date: Mon, 5 Jan 2015 05:39:35 +0100 Subject: @Singleton for j.u.Sets works in javac. --- test/transform/resource/before/BuilderSingletons.java | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 test/transform/resource/before/BuilderSingletons.java (limited to 'test/transform/resource/before/BuilderSingletons.java') diff --git a/test/transform/resource/before/BuilderSingletons.java b/test/transform/resource/before/BuilderSingletons.java new file mode 100644 index 00000000..7722f7d1 --- /dev/null +++ b/test/transform/resource/before/BuilderSingletons.java @@ -0,0 +1,12 @@ +import java.util.Set; +import java.util.SortedSet; + +import lombok.Singular; + +@lombok.Builder +class BuilderSingletons { + @Singular private Set dangerMice; + @Singular private SortedSet octopodes; + @Singular("rawSet") private Set rawSet; + @Singular("stringSet") private Set stringSet; +} -- cgit