I always wondered how to document a method that overrides a message from a base class. Normally I add a java doc to each public method and to some private, protected methods.
But autogenerating a documentation block for an override method in eclipse produces something like this:
/*
* (non-Javadoc)
*
* @see javax.swing.JComponent#paintComponent(java.awt.Graphics)
*/
Is this a good way to document the override? Should I inherit/copy the documentation from the base class?
What are you doing as a documentation for this special case? I would like to have an overview of practices that are used.