diff options
author | Reinier Zwitserloot <r.zwitserloot@projectlombok.org> | 2020-12-27 06:37:47 +0100 |
---|---|---|
committer | Reinier Zwitserloot <r.zwitserloot@projectlombok.org> | 2020-12-27 06:37:47 +0100 |
commit | 67d66be9eccf050a5f3758273ea2d685217f6d5a (patch) | |
tree | 6d8f249a03e102877b8d688ee164e126d36d315a /src/eclipseAgent/lombok/eclipse/agent | |
parent | 11b6f8f97a6fde9a5f6e39f38e63cdff73742822 (diff) | |
download | lombok-67d66be9eccf050a5f3758273ea2d685217f6d5a.tar.gz lombok-67d66be9eccf050a5f3758273ea2d685217f6d5a.tar.bz2 lombok-67d66be9eccf050a5f3758273ea2d685217f6d5a.zip |
fixing sneakythrows in ecj, and with that, the tests.
Diffstat (limited to 'src/eclipseAgent/lombok/eclipse/agent')
-rw-r--r-- | src/eclipseAgent/lombok/eclipse/agent/EclipsePatcher.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/eclipseAgent/lombok/eclipse/agent/EclipsePatcher.java b/src/eclipseAgent/lombok/eclipse/agent/EclipsePatcher.java index 171fa8a9..488d6eee 100644 --- a/src/eclipseAgent/lombok/eclipse/agent/EclipsePatcher.java +++ b/src/eclipseAgent/lombok/eclipse/agent/EclipsePatcher.java @@ -372,7 +372,7 @@ public class EclipsePatcher implements AgentLauncher.AgentLaunchable { } private static void patchCatchReparse(ScriptManager sm) { - sm.addScriptIfWitness(OSGI_TYPES, ScriptBuilder.wrapReturnValue() + sm.addScript(ScriptBuilder.wrapReturnValue() .target(new MethodTarget("org.eclipse.jdt.core.dom.ASTConverter", "retrieveStartingCatchPosition")) .wrapMethod(new Hook("lombok.launch.PatchFixesHider$PatchFixes", "fixRetrieveStartingCatchPosition", "int", "int", "int")) .transplant().request(StackRequest.RETURN_VALUE, StackRequest.PARAM1).build()); |