How can I generate Javadoc comments in Eclipse?

antony.trupe picture antony.trupe · Nov 22, 2009 · Viewed 482.1k times · Source

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

Answer

Stephen C picture Stephen C · Nov 22, 2009

For me the /**<NEWLINE> or Shift-Alt-J (or --J on a Mac) 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.