diff options
author | Reinier Zwitserloot <reinier@zwitserloot.com> | 2015-01-05 05:39:35 +0100 |
---|---|---|
committer | Reinier Zwitserloot <reinier@zwitserloot.com> | 2015-01-05 05:39:35 +0100 |
commit | 4618097d986f08a922191332c87a7d8c73e34f96 (patch) | |
tree | 3fd1dad63c641d5403835a33efd479b93c952fb9 /test/transform/resource/before/BuilderSingletons.java | |
parent | f180ab3c17eb78b5c36821203fb4afc26ba6ddbb (diff) | |
download | lombok-4618097d986f08a922191332c87a7d8c73e34f96.tar.gz lombok-4618097d986f08a922191332c87a7d8c73e34f96.tar.bz2 lombok-4618097d986f08a922191332c87a7d8c73e34f96.zip |
@Singleton for j.u.Sets works in javac.
Diffstat (limited to 'test/transform/resource/before/BuilderSingletons.java')
-rw-r--r-- | test/transform/resource/before/BuilderSingletons.java | 12 |
1 files changed, 12 insertions, 0 deletions
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<T> { + @Singular private Set<T> dangerMice; + @Singular private SortedSet<? extends Number> octopodes; + @Singular("rawSet") private Set rawSet; + @Singular("stringSet") private Set<String> stringSet; +} |