-javaagent:lombok.jar=ECJ should now work to enable lombok in any ecj-based tool including ecj itself.

This commit is contained in:
Reinier Zwitserloot committed 2011-06-06 22:14:22 +02:00
1 parent 05465b66a8
commit eac3971390
1 file changed
+1 -1
@@ -81,7 +81,6 @@ public class EclipsePatcher extends Agent {
patchAvoidReparsingGeneratedCode(sm);
if (!ecjOnly) {
patchLombokizeAST(sm);
patchCatchReparse(sm);
patchIdentifierEndReparse(sm);
patchRetrieveEllipsisStartPosition(sm);
@@ -94,6 +93,7 @@ public class EclipsePatcher extends Agent {
patchPostCompileHookEcj(sm);
}
patchLombokizeAST(sm);
patchEcjTransformers(sm, ecjOnly);
if (reloadExistingClasses) sm.reloadClasses(instrumentation);