• 0.22.6

Weaving Java Binaries

Aspect weaving is a process of modifying binary .class files after compilation in order to inject AOP advice at certain join points.

First of all, you annotate your classes and methods, and then compile. Then you run AspectJ weaver which modifies .class files, producing new "weaved" versions of them.

Luckily, these steps can be automated. All you need to do to start using our AOP aspects is add these two artifacts to your pom.xml:


Then, you use jcabi-maven-plugin plugin which executes AspectJ weaver to modify your .class files:


Additional configuration for eclipse users.

That's it.