diff options
author | Reinier Zwitserloot <reinier@zwitserloot.com> | 2010-07-16 04:04:38 +0200 |
---|---|---|
committer | Reinier Zwitserloot <reinier@zwitserloot.com> | 2010-07-16 04:04:38 +0200 |
commit | 3b706b09f79bdbbed4fb4699fdda1b10ecf670b1 (patch) | |
tree | 5355ce3b837a7ee26a104fd4ef63ad5a0b9634fa /src/eclipseAgent/lombok/eclipse | |
parent | 491d6bf7a4eb2aa0262b0a69c607d29f95aa37ae (diff) | |
download | lombok-3b706b09f79bdbbed4fb4699fdda1b10ecf670b1.tar.gz lombok-3b706b09f79bdbbed4fb4699fdda1b10ecf670b1.tar.bz2 lombok-3b706b09f79bdbbed4fb4699fdda1b10ecf670b1.zip |
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
Diffstat (limited to 'src/eclipseAgent/lombok/eclipse')
-rw-r--r-- | src/eclipseAgent/lombok/eclipse/agent/EclipsePatcher.java | 4 |
1 files 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); |