diff options
author | Reinier Zwitserloot <reinier@zwitserloot.com> | 2019-02-12 01:25:39 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-02-12 01:25:39 +0100 |
commit | cf7855b1a14fb604f4cf3d0eed708e2b6baf3e3e (patch) | |
tree | 34b3afcdea7eea4fed539dfd9408b309e080cf1e /src/core/lombok/javac/handlers/HandleSuperBuilder.java | |
parent | 0bc68e4995441a331d9685e63bc4f7db8333cc26 (diff) | |
parent | 125b02e84b555d36dd3427919bd02da6ef41ab66 (diff) | |
download | lombok-cf7855b1a14fb604f4cf3d0eed708e2b6baf3e3e.tar.gz lombok-cf7855b1a14fb604f4cf3d0eed708e2b6baf3e3e.tar.bz2 lombok-cf7855b1a14fb604f4cf3d0eed708e2b6baf3e3e.zip |
Merge pull request #2018 from emlun/refactor-singularizers
Reduce code duplication in singularizers
Diffstat (limited to 'src/core/lombok/javac/handlers/HandleSuperBuilder.java')
-rw-r--r-- | src/core/lombok/javac/handlers/HandleSuperBuilder.java | 2 |
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 72437814..7ef6b658 100644 --- a/src/core/lombok/javac/handlers/HandleSuperBuilder.java +++ b/src/core/lombok/javac/handlers/HandleSuperBuilder.java @@ -919,7 +919,7 @@ public class HandleSuperBuilder extends JavacAnnotationHandler<SuperBuilder> { name = type.toString(); String targetFqn = JavacSingularsRecipes.get().toQualified(name); - JavacSingularizer singularizer = JavacSingularsRecipes.get().getSingularizer(targetFqn); + JavacSingularizer singularizer = JavacSingularsRecipes.get().getSingularizer(targetFqn, node); if (singularizer == null) { node.addError("Lombok does not know how to create the singular-form builder methods for type '" + name + "'; they won't be generated."); return null; |