diff options
author | Reinier Zwitserloot <r.zwitserloot@projectlombok.org> | 2020-01-07 22:31:43 +0100 |
---|---|---|
committer | Reinier Zwitserloot <r.zwitserloot@projectlombok.org> | 2020-01-07 22:31:43 +0100 |
commit | 3f620e3b84dbb8d6625b4c13ca8ee9fd0aa5777c (patch) | |
tree | 4c06e0d16ba4d5e0fc2133b6bc9ed5dca8a63e49 /src/core/lombok/eclipse/handlers/EclipseSingularsRecipes.java | |
parent | 889c935ec9f0e45bba1e88b0f256e1f29a734f39 (diff) | |
download | lombok-3f620e3b84dbb8d6625b4c13ca8ee9fd0aa5777c.tar.gz lombok-3f620e3b84dbb8d6625b4c13ca8ee9fd0aa5777c.tar.bz2 lombok-3f620e3b84dbb8d6625b4c13ca8ee9fd0aa5777c.zip |
[fixes #2327] mostly trivial: Added this. for field access and unified code gen of build() methods for `@Builder`.
Diffstat (limited to 'src/core/lombok/eclipse/handlers/EclipseSingularsRecipes.java')
-rwxr-xr-x | src/core/lombok/eclipse/handlers/EclipseSingularsRecipes.java | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/core/lombok/eclipse/handlers/EclipseSingularsRecipes.java b/src/core/lombok/eclipse/handlers/EclipseSingularsRecipes.java index cb2ebe18..9d79d75c 100755 --- a/src/core/lombok/eclipse/handlers/EclipseSingularsRecipes.java +++ b/src/core/lombok/eclipse/handlers/EclipseSingularsRecipes.java @@ -1,5 +1,5 @@ /* - * Copyright (C) 2015-2019 The Project Lombok Authors. + * Copyright (C) 2015-2020 The Project Lombok Authors. * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal @@ -273,6 +273,10 @@ public class EclipseSingularsRecipes { public abstract void appendBuildCode(SingularData data, EclipseNode builderType, List<Statement> statements, char[] targetVariableName, String builderVariable); + public boolean shadowedDuringBuild() { + return true; + } + public boolean requiresCleaning() { try { return !getClass().getMethod("appendCleaningCode", SingularData.class, EclipseNode.class, List.class).getDeclaringClass().equals(EclipseSingularizer.class); |