Is a tool to add javadoc comments from the method declarations
I am wondering there is any tool can generat开发者_Python百科e the javadoc's comment from the method declarations etc?
As @Bart commented, popular IDEs can generate the Javadoc skeleton from your method declaration. However, the content you have to fill in yourself. And you would better - in fact, it is better to have no Javadoc than to have loads of autogenerated Javadoc containing no useful (or even worse, obsolete) information. So please be careful when (ab)using your IDE to autogenerate Javadoc...
JAutodoc is an Eclipse plugin that has this functionality.
I believe that Eclipse and NetBeans both have facilities to do this. They just generate the outline, of course, no actual description of anything.
精彩评论