diff options
author | cnuessgens <christian@nuessgens.com> | 2017-12-26 21:48:15 +0100 |
---|---|---|
committer | cnuessgens <christian@nuessgens.com> | 2018-01-07 19:34:02 +0100 |
commit | f8a6ba556ca21eb83bda6117d25b860398505714 (patch) | |
tree | 61983a1defb875ef497c492e3e0cbbde395a8109 /src/eclipseAgent/lombok/eclipse | |
parent | 251870cf65ad1de01e7d304cef68689ff4606960 (diff) | |
download | lombok-f8a6ba556ca21eb83bda6117d25b860398505714.tar.gz lombok-f8a6ba556ca21eb83bda6117d25b860398505714.tar.bz2 lombok-f8a6ba556ca21eb83bda6117d25b860398505714.zip |
Revert "Revert "Initial test""
This reverts commit c489b49c3684e0d8cc52c5180207375d1313dbc5.
Diffstat (limited to 'src/eclipseAgent/lombok/eclipse')
-rw-r--r-- | src/eclipseAgent/lombok/eclipse/agent/EclipsePatcher.java | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/eclipseAgent/lombok/eclipse/agent/EclipsePatcher.java b/src/eclipseAgent/lombok/eclipse/agent/EclipsePatcher.java index 135b5c77..8638ceb0 100644 --- a/src/eclipseAgent/lombok/eclipse/agent/EclipsePatcher.java +++ b/src/eclipseAgent/lombok/eclipse/agent/EclipsePatcher.java @@ -217,6 +217,7 @@ public class EclipsePatcher implements AgentLauncher.AgentLaunchable { private static void patchDisableLombokForCodeFormatterAndCleanup(ScriptManager sm) { sm.addScript(ScriptBuilder.setSymbolDuringMethodCall() .target(new MethodTarget("org.eclipse.jdt.internal.formatter.DefaultCodeFormatter", "formatCompilationUnit")) + //.target(new MethodTarget("org.eclipse.jdt.internal.formatter.DefaultCodeFormatter", "parseSourceCode")) .callToWrap(new Hook("org.eclipse.jdt.internal.core.util.CodeSnippetParsingUtil", "parseCompilationUnit", "org.eclipse.jdt.internal.compiler.ast.CompilationUnitDeclaration", "char[]", "java.util.Map", "boolean")) .symbol("lombok.disable") .build()); |