From 8af613be13ef21307a94275b67bbfc9c44d84256 Mon Sep 17 00:00:00 2001 From: Rawi01 Date: Sun, 15 Aug 2021 09:52:46 +0200 Subject: [fixes #2926] WrittenNamesFinder can now detect generated writes --- src/eclipseAgent/lombok/launch/PatchFixesHider.java | 1 + 1 file changed, 1 insertion(+) (limited to 'src/eclipseAgent/lombok') 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 { -- cgit