diff options
Diffstat (limited to 'src/core/lombok/eclipse/handlers/HandleSuperBuilder.java')
-rw-r--r-- | src/core/lombok/eclipse/handlers/HandleSuperBuilder.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/lombok/eclipse/handlers/HandleSuperBuilder.java b/src/core/lombok/eclipse/handlers/HandleSuperBuilder.java index cf2e0fbb..7e6daa17 100644 --- a/src/core/lombok/eclipse/handlers/HandleSuperBuilder.java +++ b/src/core/lombok/eclipse/handlers/HandleSuperBuilder.java @@ -225,7 +225,7 @@ public class HandleSuperBuilder extends EclipseAnnotationHandler<SuperBuilder> { // You can use it to check whether to inherit or not. returnType = namePlusTypeParamsToTypeReference(td.name, td.typeParameters, p); - typeParams = td.typeParameters; + typeParams = td.typeParameters != null ? td.typeParameters : new TypeParameter[0]; // <C, B> are the generics for our builder. String classGenericName = "C"; |