aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRawi01 <Rawi01@users.noreply.github.com>2021-10-06 09:26:29 +0200
committerRoel Spilker <r.spilker@gmail.com>2021-10-06 12:18:34 +0200
commitd653514d0840b7b2e9034d417f02e8713c8b5a9c (patch)
treeb417cc7848e4ebd48b419709ca9be478871bc3b9
parent2c5754e32a07a70ccec705ced623dce7ce6eb1a0 (diff)
downloadlombok-d653514d0840b7b2e9034d417f02e8713c8b5a9c.tar.gz
lombok-d653514d0840b7b2e9034d417f02e8713c8b5a9c.tar.bz2
lombok-d653514d0840b7b2e9034d417f02e8713c8b5a9c.zip
Fix syntax highlighting for EqualsAndHashCode
-rw-r--r--src/eclipseAgent/lombok/eclipse/agent/EclipsePatcher.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/eclipseAgent/lombok/eclipse/agent/EclipsePatcher.java b/src/eclipseAgent/lombok/eclipse/agent/EclipsePatcher.java
index fe1c8608..328860e3 100644
--- a/src/eclipseAgent/lombok/eclipse/agent/EclipsePatcher.java
+++ b/src/eclipseAgent/lombok/eclipse/agent/EclipsePatcher.java
@@ -199,6 +199,7 @@ public class EclipsePatcher implements AgentLauncher.AgentLaunchable {
.target(new MethodTarget("org.eclipse.jdt.internal.ui.search.OccurrencesFinder", "addUsage"))
.target(new MethodTarget("org.eclipse.jdt.internal.ui.search.OccurrencesFinder", "addWrite"))
.target(new MethodTarget("org.eclipse.jdt.internal.ui.javaeditor.SemanticHighlightingReconciler$PositionCollector", "visit", "boolean", "org.eclipse.jdt.core.dom.SimpleName"))
+ .target(new MethodTarget("org.eclipse.jdt.internal.ui.javaeditor.SemanticHighlightingReconciler$PositionCollector", "visitLiteral", "boolean", "org.eclipse.jdt.core.dom.Expression"))
.decisionMethod(new Hook("lombok.launch.PatchFixesHider$PatchFixes", "isGenerated", "boolean", "org.eclipse.jdt.core.dom.ASTNode"))
.valueMethod(new Hook("lombok.launch.PatchFixesHider$PatchFixes", "returnFalse", "boolean", "java.lang.Object"))
.request(StackRequest.PARAM1)