mirror of
https://github.com/tiennm99/lombok.git
synced 2026-10-16 10:15:22 +00:00
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:
1 parent
d7873f2d21
commit
9198551def
37 files changed
+612
-147
No files matched your search
@@ -21,13 +21,13 @@ import lombok.Builder;
|
||||
this.foo = foo;
|
||||
return this;
|
||||
}
|
||||
public @java.lang.SuppressWarnings("all") BuilderWithToBuilderBuilder<T> bar(T bar) {
|
||||
public @java.lang.SuppressWarnings("all") BuilderWithToBuilderBuilder<T> bar(final T bar) {
|
||||
if ((this.bars == null))
|
||||
this.bars = new java.util.ArrayList<T>();
|
||||
this.bars.add(bar);
|
||||
return this;
|
||||
}
|
||||
public @java.lang.SuppressWarnings("all") BuilderWithToBuilderBuilder<T> bars(java.util.Collection<? extends T> bars) {
|
||||
public @java.lang.SuppressWarnings("all") BuilderWithToBuilderBuilder<T> bars(final java.util.Collection<? extends T> bars) {
|
||||
if ((this.bars == null))
|
||||
this.bars = new java.util.ArrayList<T>();
|
||||
this.bars.addAll(bars);
|
||||
|
||||
Reference in new issue
Block a user