aboutsummaryrefslogtreecommitdiff
path: root/src/core/lombok/eclipse/handlers/EclipseSingularsRecipes.java
diff options
context:
space:
mode:
authorReinier Zwitserloot <r.zwitserloot@projectlombok.org>2020-01-07 22:31:43 +0100
committerReinier Zwitserloot <r.zwitserloot@projectlombok.org>2020-01-07 22:31:43 +0100
commit3f620e3b84dbb8d6625b4c13ca8ee9fd0aa5777c (patch)
tree4c06e0d16ba4d5e0fc2133b6bc9ed5dca8a63e49 /src/core/lombok/eclipse/handlers/EclipseSingularsRecipes.java
parent889c935ec9f0e45bba1e88b0f256e1f29a734f39 (diff)
downloadlombok-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-xsrc/core/lombok/eclipse/handlers/EclipseSingularsRecipes.java6
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);