aboutsummaryrefslogtreecommitdiff
path: root/src/core/lombok/javac/handlers/HandleSuperBuilder.java
diff options
context:
space:
mode:
authorRawi01 <Rawi01@users.noreply.github.com>2021-01-20 19:40:23 +0100
committerRawi01 <Rawi01@users.noreply.github.com>2021-02-01 09:14:41 +0100
commit06efa58762d243a6ebcc09aea57b81b338e628a4 (patch)
tree0a2315cddfff10f5b912040b642a43eb9c8876c0 /src/core/lombok/javac/handlers/HandleSuperBuilder.java
parent3d3a4c322af4cf7f27679661efaa9dcd685165bb (diff)
downloadlombok-06efa58762d243a6ebcc09aea57b81b338e628a4.tar.gz
lombok-06efa58762d243a6ebcc09aea57b81b338e628a4.tar.bz2
lombok-06efa58762d243a6ebcc09aea57b81b338e628a4.zip
[fixes #1538] Use Enter and MemberEnter to update type mirrors
Diffstat (limited to 'src/core/lombok/javac/handlers/HandleSuperBuilder.java')
-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 a462fa53..d9e55a56 100644
--- a/src/core/lombok/javac/handlers/HandleSuperBuilder.java
+++ b/src/core/lombok/javac/handlers/HandleSuperBuilder.java
@@ -585,7 +585,7 @@ public class HandleSuperBuilder extends JavacAnnotationHandler<SuperBuilder> {
null, List.<JCTypeParameter>nil(), params.toList(), List.<JCExpression>nil(),
maker.Block(0L, statements.toList()), null), job.sourceNode);
- injectMethod(job.parentType, constr, null, Javac.createVoidType(job.builderType.getSymbolTable(), CTC_VOID));
+ injectMethod(job.parentType, constr);
}
private JCMethodDecl generateBuilderMethod(SuperBuilderJob job) {