aboutsummaryrefslogtreecommitdiff
path: root/src/eclipseAgent/lombok/eclipse
diff options
context:
space:
mode:
authorReinier Zwitserloot <reinier@tipit.to>2009-12-23 03:36:17 +0100
committerReinier Zwitserloot <reinier@tipit.to>2009-12-23 03:36:17 +0100
commit0917f20f74728ab311160252e06b5368d6ab4a55 (patch)
tree0db940060594f44d24d516f7130236d6978cca86 /src/eclipseAgent/lombok/eclipse
parente56395a49f37e627d16a5afc05f60bf00ad4e047 (diff)
downloadlombok-0917f20f74728ab311160252e06b5368d6ab4a55.tar.gz
lombok-0917f20f74728ab311160252e06b5368d6ab4a55.tar.bz2
lombok-0917f20f74728ab311160252e06b5368d6ab4a55.zip
work in progress on ecj support.
Diffstat (limited to 'src/eclipseAgent/lombok/eclipse')
-rw-r--r--src/eclipseAgent/lombok/eclipse/agent/EclipsePatcher.java14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/eclipseAgent/lombok/eclipse/agent/EclipsePatcher.java b/src/eclipseAgent/lombok/eclipse/agent/EclipsePatcher.java
index 741328f1..b8f9f9a3 100644
--- a/src/eclipseAgent/lombok/eclipse/agent/EclipsePatcher.java
+++ b/src/eclipseAgent/lombok/eclipse/agent/EclipsePatcher.java
@@ -54,11 +54,11 @@ public class EclipsePatcher extends Agent {
EquinoxClassLoader.addPrefix("lombok.");
EquinoxClassLoader.registerScripts(sm);
- patchLombokizeAST(sm);
+// patchLombokizeAST(sm);
patchAvoidReparsingGeneratedCode(sm);
- patchCatchReparse(sm);
- patchSetGeneratedFlag(sm);
- patchHideGeneratedNodes(sm);
+// patchCatchReparse(sm);
+// patchSetGeneratedFlag(sm);
+// patchHideGeneratedNodes(sm);
if (reloadExistingClasses) sm.reloadClasses(instrumentation);
}
@@ -167,14 +167,14 @@ public class EclipsePatcher extends Agent {
"org.eclipse.jdt.internal.compiler.ast.MethodDeclaration",
"org.eclipse.jdt.internal.compiler.ast.CompilationUnitDeclaration"))
.decisionMethod(new Hook("lombok/eclipse/agent/PatchFixes", "checkBit24", "(Ljava/lang/Object;)Z"))
- .transplant().request(StackRequest.PARAM1).build());
+ .request(StackRequest.PARAM1).build());
sm.addScript(ScriptBuilder.exitEarly()
.target(new MethodTarget(PARSER_SIG1, "parse", "void",
"org.eclipse.jdt.internal.compiler.ast.ConstructorDeclaration",
"org.eclipse.jdt.internal.compiler.ast.CompilationUnitDeclaration", "boolean"))
.decisionMethod(new Hook("lombok/eclipse/agent/PatchFixes", "checkBit24", "(Ljava/lang/Object;)Z"))
- .transplant().request(StackRequest.PARAM1).build());
+ .request(StackRequest.PARAM1).build());
sm.addScript(ScriptBuilder.exitEarly()
.target(new MethodTarget(PARSER_SIG1, "parse", "void",
@@ -182,7 +182,7 @@ public class EclipsePatcher extends Agent {
"org.eclipse.jdt.internal.compiler.ast.TypeDeclaration",
"org.eclipse.jdt.internal.compiler.ast.CompilationUnitDeclaration"))
.decisionMethod(new Hook("lombok/eclipse/agent/PatchFixes", "checkBit24", "(Ljava/lang/Object;)Z"))
- .transplant().request(StackRequest.PARAM1).build());
+ .request(StackRequest.PARAM1).build());
}
private static void patchLombokizeAST(ScriptManager sm) {