From 3b706b09f79bdbbed4fb4699fdda1b10ecf670b1 Mon Sep 17 00:00:00 2001 From: Reinier Zwitserloot Date: Fri, 16 Jul 2010 04:04:38 +0200 Subject: previous update to the code due to changes in lombok.patcher introduced a bug, which was causing the following exception in the eclipse error log: java.lang.VerifyError: (class: org/eclipse/jdt/internal/corext/dom/LinkedNodeFinder, method: findByBinding signature: (Lorg/eclipse/jdt/core/dom/ASTNode;Lorg/eclipse/jdt/core/dom/IBinding;)[Lorg/eclipse/jdt/core/dom/SimpleName;) Incompatible argument to function --- src/eclipseAgent/lombok/eclipse/agent/EclipsePatcher.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/eclipseAgent/lombok/eclipse/agent/EclipsePatcher.java b/src/eclipseAgent/lombok/eclipse/agent/EclipsePatcher.java index 7dc17320..7e38a35b 100644 --- a/src/eclipseAgent/lombok/eclipse/agent/EclipsePatcher.java +++ b/src/eclipseAgent/lombok/eclipse/agent/EclipsePatcher.java @@ -72,8 +72,8 @@ public class EclipsePatcher extends Agent { sm.addScript(ScriptBuilder.wrapReturnValue() .target(new MethodTarget("org.eclipse.jdt.internal.corext.dom.LinkedNodeFinder", "findByNode")) .target(new MethodTarget("org.eclipse.jdt.internal.corext.dom.LinkedNodeFinder", "findByBinding")) - .wrapMethod(new Hook("lombok.eclipse.agent.PatchFixes", "removeGeneratedSimpleNames", "org.eclipse.jdt.core.dom.SimpleName", - "org.eclipse.jdt.core.dom.SimpleName")) + .wrapMethod(new Hook("lombok.eclipse.agent.PatchFixes", "removeGeneratedSimpleNames", "org.eclipse.jdt.core.dom.SimpleName[]", + "org.eclipse.jdt.core.dom.SimpleName[]")) .request(StackRequest.RETURN_VALUE).build()); patchRefactorScripts(sm); -- cgit