https://github.com/rzwitserloot/lombok.patcher
Revision 214ab2ca6edf1c3a10a246fa40f2ad73a9e7357f authored by Reinier Zwitserloot on 28 November 2017, 16:09:19 UTC, committed by Reinier Zwitserloot on 28 November 2017, 16:11:07 UTC
1 parent 5a27e8e
Raw File
Tip revision: 214ab2ca6edf1c3a10a246fa40f2ad73a9e7357f authored by Reinier Zwitserloot on 28 November 2017, 16:09:19 UTC
Removed lombok as a dependency; a bunch of packagers don’t like it when we have a circular dependency situation (lombok.patcher needed lombok to be compiled, but lombok has lombok.patcher as part of the packed-in deps).
Tip revision: 214ab2c
README.markdown
#lombok.patcher

Lombok Patcher gives you the ability to live-rewrite classes as a JVM runs, either by loading as an agent during JVM bootup or by injecting the agent 'live' during execution.

To make this easier than fiddling with classes directly, Lombok Patcher offers a few 'patch scripts' to do common tasks, such as wrap your own code around any method call,
replace methods entirely with your own, or add fields.

lombok.patcher also includes support for getting around the Eclipse OSGi container's classloader separation.

An example can be found in [Project Lombok's eclipse agent code](http://github.com/rzwitserloot/lombok/tree/master/src/eclipseAgent/lombok/eclipse/agent/)
back to top