DynamiDoc generates Javadoc using dynamic analysis. It adds @examples
tags with examples of arguments, return values, thrown exceptions, and object states to methods in the source code.
This project is an early prototype.
- Clone and open the DynamiDoc project in Eclipse (with AJDT plugin installed).
- Add AspectJ capability to the project you would like to document (the "target project"): Configure > Convert to AspectJ Project.
- Add the DynamiDoc project to the Aspect Path of the target project: AspectJ Tools > Configure AspectJ Build Path > Aspect Path > Add Project > DynamiDoc.
- Execute the target project manually or by running tests.
- Add the absolute source path of the target project (e.g., "/home/user/Project/src/main/java/") to the command-line argument list of DynamiDoc.
- Run DynamiDoc.