aboutsummaryrefslogtreecommitdiff
path: root/src_eclipseagent/lombok/eclipse
diff options
context:
space:
mode:
Diffstat (limited to 'src_eclipseagent/lombok/eclipse')
-rw-r--r--src_eclipseagent/lombok/eclipse/agent/EclipsePatcher.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src_eclipseagent/lombok/eclipse/agent/EclipsePatcher.java b/src_eclipseagent/lombok/eclipse/agent/EclipsePatcher.java
index 812c5671..029d7994 100644
--- a/src_eclipseagent/lombok/eclipse/agent/EclipsePatcher.java
+++ b/src_eclipseagent/lombok/eclipse/agent/EclipsePatcher.java
@@ -131,7 +131,7 @@ public class EclipsePatcher {
}
}).methodToWrap(new Hook("org/eclipse/jdt/core/dom/SimpleName", "<init>", "(Lorg/eclipse/jdt/core/dom/AST;)V"))
.requestExtra(StackRequest.PARAM1)
- .replacementMethod(new Hook("lombok/eclipse/agent/PatchFixes", "setIsGeneratedFlagForSimpleName",
+ .wrapMethod(new Hook("lombok/eclipse/agent/PatchFixes", "setIsGeneratedFlagForSimpleName",
"(Lorg/eclipse/jdt/core/dom/SimpleName;Ljava/lang/Object;)V"))
.transplant().build());
}