aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorReinier Zwitserloot <reinier@zwitserloot.com>2010-07-16 04:04:38 +0200
committerReinier Zwitserloot <reinier@zwitserloot.com>2010-07-16 04:04:38 +0200
commit3b706b09f79bdbbed4fb4699fdda1b10ecf670b1 (patch)
tree5355ce3b837a7ee26a104fd4ef63ad5a0b9634fa
parent491d6bf7a4eb2aa0262b0a69c607d29f95aa37ae (diff)
downloadlombok-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
-rw-r--r--src/eclipseAgent/lombok/eclipse/agent/EclipsePatcher.java4
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);