aboutsummaryrefslogtreecommitdiff
path: root/src/eclipseAgent/lombok/eclipse/agent/EclipsePatcher.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/eclipseAgent/lombok/eclipse/agent/EclipsePatcher.java')
-rw-r--r--src/eclipseAgent/lombok/eclipse/agent/EclipsePatcher.java15
1 files changed, 0 insertions, 15 deletions
diff --git a/src/eclipseAgent/lombok/eclipse/agent/EclipsePatcher.java b/src/eclipseAgent/lombok/eclipse/agent/EclipsePatcher.java
index c49346bc..0ac62c79 100644
--- a/src/eclipseAgent/lombok/eclipse/agent/EclipsePatcher.java
+++ b/src/eclipseAgent/lombok/eclipse/agent/EclipsePatcher.java
@@ -86,7 +86,6 @@ public class EclipsePatcher extends Agent {
patchRetrieveEllipsisStartPosition(sm);
patchSetGeneratedFlag(sm);
patchHideGeneratedNodes(sm);
- patchLiveDebug(sm);
patchPostCompileHookEclipse(sm);
patchFixSourceTypeConverter(sm);
} else {
@@ -236,20 +235,6 @@ public class EclipsePatcher extends Agent {
.transplant().build());
}
- /**
- * XXX LIVE DEBUG
- *
- * Adds patches to improve error reporting in cases of extremely rare bugs that are hard to reproduce. These should be removed
- * once the issue has been solved!
- */
- private static void patchLiveDebug(ScriptManager sm) {
- sm.addScript(ScriptBuilder.exitEarly()
- .target(new MethodTarget(
- "org.eclipse.jdt.internal.compiler.ast.MethodDeclaration", "resolveStatements", "void"))
- .decisionMethod(new Hook("lombok.eclipse.agent.PatchFixes", "debugPrintStateOfScope", "boolean", "java.lang.Object"))
- .request(StackRequest.THIS).build());
- }
-
private static void patchAvoidReparsingGeneratedCode(ScriptManager sm) {
final String PARSER_SIG = "org.eclipse.jdt.internal.compiler.parser.Parser";
sm.addScript(ScriptBuilder.exitEarly()