API Doc

You have the choice: you can use

The AspectJ Docs are similar to javadoc but contains also the AspectJ features like pointcuts, advices, ...

Examples

For some examples take a look at PatternTesting-Samples. Look at patterntesting.sample.IdGenerator which is an example when to use the synchronized keyword. It is tested by patterntesting.sample.IdGeneratorTest which uses the @TestThread annotation.

IdGeneratorTest is also an example for the @RunParallel annotation which allows you to run a method parallel in different threads.