aboutsummaryrefslogtreecommitdiff
path: root/src/eclipseAgent/lombok/eclipse/agent/EclipsePatcher.java
diff options
context:
space:
mode:
authorRoel Spilker <r.spilker@gmail.com>2010-08-15 22:38:32 +0200
committerReinier Zwitserloot <reinier@zwitserloot.com>2010-08-15 22:38:32 +0200
commit1f1fd17350bd61169e2aa01e5c3377801fb18a08 (patch)
treec89cb2a18c9db3431860d26ebc0f62ab2effd8dd /src/eclipseAgent/lombok/eclipse/agent/EclipsePatcher.java
parente4845802a7d66415e330325dd434c0df4315c895 (diff)
downloadlombok-1f1fd17350bd61169e2aa01e5c3377801fb18a08.tar.gz
lombok-1f1fd17350bd61169e2aa01e5c3377801fb18a08.tar.bz2
lombok-1f1fd17350bd61169e2aa01e5c3377801fb18a08.zip
Added name of compilation unit to error/warnings generated by postProcess.
Diffstat (limited to 'src/eclipseAgent/lombok/eclipse/agent/EclipsePatcher.java')
-rw-r--r--src/eclipseAgent/lombok/eclipse/agent/EclipsePatcher.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/eclipseAgent/lombok/eclipse/agent/EclipsePatcher.java b/src/eclipseAgent/lombok/eclipse/agent/EclipsePatcher.java
index 1d2efea0..2ac24a48 100644
--- a/src/eclipseAgent/lombok/eclipse/agent/EclipsePatcher.java
+++ b/src/eclipseAgent/lombok/eclipse/agent/EclipsePatcher.java
@@ -93,7 +93,8 @@ public class EclipsePatcher extends Agent {
sm.addScript(ScriptBuilder.wrapMethodCall()
.target(new MethodTarget("org.eclipse.jdt.internal.compiler.util.Util", "writeToDisk"))
.methodToWrap(new Hook("java.io.BufferedOutputStream", "<init>", "void", "java.io.OutputStream", "int"))
- .wrapMethod(new Hook("lombok.eclipse.agent.PatchFixes", "runPostCompiler", "java.io.BufferedOutputStream", "java.io.BufferedOutputStream"))
+ .wrapMethod(new Hook("lombok.eclipse.agent.PatchFixes", "runPostCompiler", "java.io.BufferedOutputStream", "java.io.BufferedOutputStream", "java.lang.String", "java.lang.String"))
+ .requestExtra(StackRequest.PARAM2, StackRequest.PARAM3)
.build());
}