Is there something I can use to parse JavaDoc, such that I can operate on it through the standard Doclet interfaces at runtime? Essentially, the reverse operation of a Doclet.
I understand that it would be impossible to write a parser for every Javadoc (since this can be an arbitrary documentation format), but I'd be curious to know if there was something like that for the Standard Doclet.
Doclet is a javadoc parser already. Think of the Doclet as a SAX Parser
Each call to your methods will be provided the exact same data that is given to a normal javadoc doclet. Run your subclassed Doclet on the source code and it will present the documentation to you through the callback methods.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With