问题
I'm working with the company I'm employed at trying to create better documentation for our internal library. We are looking to eventually go through each class and update our naming scheme (there has been a lot of sloppy code in the past). What I would like is the ability to just print out the summary of the javadoc. It would need to exclude the full length explanations that are at the bottom of the page. It would also be great if this could generate a single file or printout (like a PDF) with all the classes. Specifically something along these lines:
- Class Summary:
- Field Summary:
- Field 1
- Field 2
- Method Summary:
- Method 1
- Method 2
- Field Summary:
- Class Summary:
etc....
The idea is to get together with my team and make changes on a hardcopy and then edit the code later. I should also mention that we are all currently working with Eclipse. Thanks in advance for anyone that can give me some ideas on this.
回答1:
Have you looked at the doclet api?
来源:https://stackoverflow.com/questions/9008171/print-javadoc-summary-only