Using the AspectJ plugin, IntelliJ will automatically weave the class files of compiled classes
as part of the compilation process.
The plugin assumes AspectJ 1.6 (AspectJ 1.5 before plugin version 1.10) and has been tested with IntelliJ IDEA 12. There are also older versions of the plugin tested with IntelliJ versions 9/10/11 and 4.5/6/7/8 respectively.
For now, the plugin cannot compile AspectJ syntax aspects, so the aspects need to be precompiled or annotation style.
If aspects make use of JoinPoint information, aspectjrt.jar must be on the project classpath.
In IntelliJ 12, "Use external build" must not be checked for the plugin to work.
The plugin can easily be installed, or updated, through the plugin manager inside IntelliJ.
The plugin can also be downloaded from the menu above.
After installing, just activate the plugin for your project on the Build menu.
Annotation style aspects
compiled within the project will be found automatically on the next compile. If you are using AspectJ
syntax (.aj) aspects or pre-compiled aspects (i.e. aspects in JAR files), you must search for them in the project settings.
Using the project settings, you can also enable or disable individual aspects.
If you find any problems or feature requests, please contact me.