diff options
Diffstat (limited to 'test/transform/resource/after-delombok/SuperBuilderWithGenerics.java')
-rw-r--r-- | test/transform/resource/after-delombok/SuperBuilderWithGenerics.java | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/test/transform/resource/after-delombok/SuperBuilderWithGenerics.java b/test/transform/resource/after-delombok/SuperBuilderWithGenerics.java index 2bac58f2..6b3d2ff0 100644 --- a/test/transform/resource/after-delombok/SuperBuilderWithGenerics.java +++ b/test/transform/resource/after-delombok/SuperBuilderWithGenerics.java @@ -26,6 +26,7 @@ public class SuperBuilderWithGenerics { }
@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();
|