mirror of
https://github.com/tiennm99/lombok.git
synced 2026-10-14 08:18:29 +00:00
-javaagent:lombok.jar=ECJ should now work to enable lombok in any ecj-based tool including ecj itself.
This commit is contained in:
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);
|
||||
|
||||
Reference in new issue
Block a user