antony.trupe antony.trupe - 2 months ago 17
Java Question

How can I generate Javadoc comments in Eclipse?


Possible Duplicate:

Javadoc template generator




Is there a way to generate Javadoc comments in Eclipse? If so, what is it?

Answer

For me the /**<NEWLINE> or Shift-Alt-J approach works best.

I dislike seeing Javadoc comments in source code that have been auto-generated and have not been updated with real content. As far as I am concerned, such javadocs are nothing more than a waste of screen space.

IMO, it is much much better to generate the Javadoc comment skeletons one by one as you are about to fill in the details.