weaveJ : Programatic aspect weaver for Java.
To use weaveJ in Java:
-
Download
java-agent.jar
fromsource-code\lib
folder, and add it to your system classpath. -
Employ the API in your code to use pointcuts, see documentation.
-
Specify the following arguments to the VM :
- The java agent:
-javaagent:[path_to_the_jar]/java-agent.jar
. - The classes or packages to be instrumented:
-Dformatting=[packages_or_classes_you_want_instrument]
(';'
as separator)
Notice:
weaveJ works with Java 8. The setField
joinpoint is only supported for non-final fields.
Directories:
- Benchmarks: Code and binaries of all the programs used in the evaluation.
- Micro Benchmark
- Real Applications
- binaries: Binaries and scripts to use weaveJ and run the example.
- documentation: Files containing the documentation of weaveJ (javadoc).
- example: Binaries, scripts and code of the example.
- source-code: Code and binaries of weaveJ.