aboutsummaryrefslogtreecommitdiff
path: root/src/core/lombok
diff options
context:
space:
mode:
authorJan Rieke <rieke@subshell.com>2021-03-12 11:51:18 +0100
committerJan Rieke <rieke@subshell.com>2021-03-12 11:51:18 +0100
commit14f861b5f1c49d9ccc2eb0cda088753e6b63d349 (patch)
treeb5a3cd1dc17cbf7ad85c4c4c5da40889da8f873a /src/core/lombok
parentf8c16ed8ac69d0106a845ca96573557700b6f39d (diff)
downloadlombok-14f861b5f1c49d9ccc2eb0cda088753e6b63d349.tar.gz
lombok-14f861b5f1c49d9ccc2eb0cda088753e6b63d349.tar.bz2
lombok-14f861b5f1c49d9ccc2eb0cda088753e6b63d349.zip
[fixes #2701] fix NPE on customized SuperBuilder with Singular
Diffstat (limited to 'src/core/lombok')
-rw-r--r--src/core/lombok/javac/handlers/HandleSuperBuilder.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/lombok/javac/handlers/HandleSuperBuilder.java b/src/core/lombok/javac/handlers/HandleSuperBuilder.java
index 480049ef..78c9823b 100644
--- a/src/core/lombok/javac/handlers/HandleSuperBuilder.java
+++ b/src/core/lombok/javac/handlers/HandleSuperBuilder.java
@@ -303,7 +303,7 @@ public class HandleSuperBuilder extends JavacAnnotationHandler<SuperBuilder> {
if (sd == null) continue;
JavacSingularizer singularizer = sd.getSingularizer();
if (singularizer == null) continue;
- if (singularizer.checkForAlreadyExistingNodesAndGenerateError(job.builderType, sd)) {
+ if (singularizer.checkForAlreadyExistingNodesAndGenerateError(job.builderAbstractType, sd)) {
bfd.singularData = null;
}
}