diff options
Diffstat (limited to 'test/transform/resource/after-delombok/SuperBuilderWithGenerics2.java')
-rw-r--r-- | test/transform/resource/after-delombok/SuperBuilderWithGenerics2.java | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/test/transform/resource/after-delombok/SuperBuilderWithGenerics2.java b/test/transform/resource/after-delombok/SuperBuilderWithGenerics2.java index 0f4a6c54..b03cff07 100644 --- a/test/transform/resource/after-delombok/SuperBuilderWithGenerics2.java +++ b/test/transform/resource/after-delombok/SuperBuilderWithGenerics2.java @@ -26,6 +26,7 @@ public class SuperBuilderWithGenerics2 { }
@java.lang.SuppressWarnings("all")
public B items(final java.util.Collection<? extends String> items) {
+ if (items == null) throw new java.lang.NullPointerException("items cannot be null");
if (this.items == null) this.items = new java.util.ArrayList<String>();
this.items.addAll(items);
return self();
|