Finishing work on making lombok do sensible things with TYPE_USE annotations and for example their use on the typearg in a collection type which is being @Singular-ized.

This commit is contained in:
Reinier Zwitserloot committed 2018-09-18 01:21:33 +02:00
1 parent d7873f2d21
commit 9198551def
37 files changed
+612 -147

No files matched your search

@@ -13,13 +13,13 @@ public class SuperBuilderWithCustomBuilderMethod {
this.field1 = field1;
return self();
}
public @java.lang.SuppressWarnings("all") B item(String item) {
public @java.lang.SuppressWarnings("all") B item(final String item) {
if ((this.items == null))
this.items = new java.util.ArrayList<String>();
this.items.add(item);
return self();
}
public @java.lang.SuppressWarnings("all") B items(java.util.Collection<? extends String> items) {
public @java.lang.SuppressWarnings("all") B items(final java.util.Collection<? extends String> items) {
if ((this.items == null))
this.items = new java.util.ArrayList<String>();
this.items.addAll(items);