a simple xdoclet-like tool for processing doclet tags or Java 5 annotations
The sources can be found here : Gram
You can use the Gram class as a main() and run it from your IDE if you wish. There is a GramTask as well for using it inside Ant.
You might find some more documentation in the form of blog posts by Andres Almiray: