aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorcnuessgens <christian@nuessgens.com>2017-12-26 21:46:19 +0100
committercnuessgens <christian@nuessgens.com>2018-01-07 19:34:02 +0100
commitf2cdfd1f8a445f881627606c6c7dcd98c9eedfb5 (patch)
tree61983a1defb875ef497c492e3e0cbbde395a8109
parentad2194a3fb18fc70228bafe866964760a77258db (diff)
downloadlombok-f2cdfd1f8a445f881627606c6c7dcd98c9eedfb5.tar.gz
lombok-f2cdfd1f8a445f881627606c6c7dcd98c9eedfb5.tar.bz2
lombok-f2cdfd1f8a445f881627606c6c7dcd98c9eedfb5.zip
Initial test
-rw-r--r--src/core/lombok/core/Version.java2
-rw-r--r--src/eclipseAgent/lombok/eclipse/agent/EclipsePatcher.java1
2 files changed, 2 insertions, 1 deletions
diff --git a/src/core/lombok/core/Version.java b/src/core/lombok/core/Version.java
index 18c78b04..e776774b 100644
--- a/src/core/lombok/core/Version.java
+++ b/src/core/lombok/core/Version.java
@@ -30,7 +30,7 @@ public class Version {
// ** CAREFUL ** - this class must always compile with 0 dependencies (it must not refer to any other sources or libraries).
// Note: In 'X.Y.Z', if Z is odd, its a snapshot build built from the repository, so many different 0.10.3 versions can exist, for example.
// Official builds always end in an even number. (Since 0.10.2).
- private static final String VERSION = "1.16.19";
+ private static final String VERSION = "1.16.19-issue-879";
private static final String RELEASE_NAME = "Edgy Guinea Pig";
// private static final String RELEASE_NAME = "Dancing Elephant";
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());