aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRawi01 <Rawi01@users.noreply.github.com>2021-08-15 09:52:46 +0200
committerRawi01 <Rawi01@users.noreply.github.com>2021-08-15 10:00:53 +0200
commit8af613be13ef21307a94275b67bbfc9c44d84256 (patch)
treef51194dc7f435af806606aa88ec1376029269024
parente050dafc9016519e79184e383eab9ffbd579bebd (diff)
downloadlombok-8af613be13ef21307a94275b67bbfc9c44d84256.tar.gz
lombok-8af613be13ef21307a94275b67bbfc9c44d84256.tar.bz2
lombok-8af613be13ef21307a94275b67bbfc9c44d84256.zip
[fixes #2926] WrittenNamesFinder can now detect generated writes
-rwxr-xr-xsrc/eclipseAgent/lombok/launch/PatchFixesHider.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/eclipseAgent/lombok/launch/PatchFixesHider.java b/src/eclipseAgent/lombok/launch/PatchFixesHider.java
index bee30922..30c63cf0 100755
--- a/src/eclipseAgent/lombok/launch/PatchFixesHider.java
+++ b/src/eclipseAgent/lombok/launch/PatchFixesHider.java
@@ -419,6 +419,7 @@ final class PatchFixesHider {
String className = visitor.getClass().getName();
if (!(className.startsWith("org.eclipse.jdt.internal.corext.fix") || className.startsWith("org.eclipse.jdt.internal.ui.fix"))) return false;
+ if (className.equals("org.eclipse.jdt.internal.corext.fix.VariableDeclarationFixCore$WrittenNamesFinder")) return false;
boolean result = false;
try {