aboutsummaryrefslogtreecommitdiff
path: root/src/core/lombok/javac/handlers/JavacSingularsRecipes.java
diff options
context:
space:
mode:
authorEmil Lundberg <emil@emlun.se>2019-01-10 05:28:51 +0100
committerEmil Lundberg <emil@emlun.se>2019-01-13 02:27:33 +0100
commitaf3226ffaaf1277a217fc8c9fbe3c1259a561c78 (patch)
treea46f06b08f08cf25cb344f130f289fd224da3083 /src/core/lombok/javac/handlers/JavacSingularsRecipes.java
parentfe11913fa6ecbf3cec06263dcb0fef08a2eb8cce (diff)
downloadlombok-af3226ffaaf1277a217fc8c9fbe3c1259a561c78.tar.gz
lombok-af3226ffaaf1277a217fc8c9fbe3c1259a561c78.tar.bz2
lombok-af3226ffaaf1277a217fc8c9fbe3c1259a561c78.zip
Pull overloaded createConstructBuilderVarIfNeeded up to JavacSingularizer
Diffstat (limited to 'src/core/lombok/javac/handlers/JavacSingularsRecipes.java')
-rw-r--r--src/core/lombok/javac/handlers/JavacSingularsRecipes.java2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/core/lombok/javac/handlers/JavacSingularsRecipes.java b/src/core/lombok/javac/handlers/JavacSingularsRecipes.java
index 69eaf97c..59f38ff2 100644
--- a/src/core/lombok/javac/handlers/JavacSingularsRecipes.java
+++ b/src/core/lombok/javac/handlers/JavacSingularsRecipes.java
@@ -296,6 +296,8 @@ public class JavacSingularsRecipes {
protected abstract void generatePluralMethod(boolean deprecate, JavacTreeMaker maker, JCExpression returnType, JCStatement returnStatement, SingularData data, JavacNode builderType, JCTree source, boolean fluent);
+ protected abstract JCStatement createConstructBuilderVarIfNeeded(JavacTreeMaker maker, SingularData data, JavacNode builderType, JCTree source);
+
public abstract void appendBuildCode(SingularData data, JavacNode builderType, JCTree source, ListBuffer<JCStatement> statements, Name targetVariableName, String builderVariable);
public boolean requiresCleaning() {