diff options
author | Reinier Zwitserloot <reinier@zwitserloot.com> | 2012-04-23 23:28:05 +0200 |
---|---|---|
committer | Reinier Zwitserloot <reinier@zwitserloot.com> | 2012-04-23 23:28:16 +0200 |
commit | b5625e5698ae8c584032730aaa332f5198d80245 (patch) | |
tree | 7174d612021e818485c1994a141ee833e6baa3e4 /src/eclipseAgent/lombok/eclipse/agent/EclipsePatcher.java | |
parent | 34a8a4a080e301f5490d273f1a3526902f864d9b (diff) | |
download | lombok-b5625e5698ae8c584032730aaa332f5198d80245.tar.gz lombok-b5625e5698ae8c584032730aaa332f5198d80245.tar.bz2 lombok-b5625e5698ae8c584032730aaa332f5198d80245.zip |
Fix for bug introduced in 48e73a7180ac459d2949e66f2cacc46e08466fce (2 commits ago).
isGenerated was being transplanted twice, resulting in a ClassFormatError.
NB: This is my fault - transplanting was the only fix I introduced on top of Philipp's work.
Diffstat (limited to 'src/eclipseAgent/lombok/eclipse/agent/EclipsePatcher.java')
-rw-r--r-- | src/eclipseAgent/lombok/eclipse/agent/EclipsePatcher.java | 2 |
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 f532c308..c14710c8 100644 --- a/src/eclipseAgent/lombok/eclipse/agent/EclipsePatcher.java +++ b/src/eclipseAgent/lombok/eclipse/agent/EclipsePatcher.java @@ -331,7 +331,7 @@ public class EclipsePatcher extends Agent { .target(new MethodTarget("org.eclipse.jdt.internal.corext.refactoring.rename.TempOccurrenceAnalyzer", "visit", "boolean", "org.eclipse.jdt.core.dom.SimpleName")) .target(new MethodTarget("org.eclipse.jdt.internal.corext.refactoring.rename.RenameAnalyzeUtil$ProblemNodeFinder$NameNodeVisitor", "visit", "boolean", "org.eclipse.jdt.core.dom.SimpleName")) .decisionMethod(new Hook("lombok.eclipse.agent.PatchFixes", "isGenerated", "boolean", "org.eclipse.jdt.core.dom.ASTNode")) - .valueMethod(new Hook("lombok.eclipse.agent.PatchFixes", "isGenerated", "boolean", "org.eclipse.jdt.core.dom.ASTNode")) + .valueMethod(new Hook("lombok.eclipse.agent.PatchFixes", "returnTrue", "boolean", "java.lang.Object")) .request(StackRequest.PARAM1) .transplant().build()); } |