Print Javadoc Summary only

夙愿已清 提交于 2019-12-12 03:11:38

问题


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:

  1. Class Summary:
    • Field Summary:
      • Field 1
      • Field 2
    • Method Summary:
      • Method 1
      • Method 2
  2. 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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!