I always wondered how to document a method that overrides a message from a base class. I usually add a java document to each public method and to some private protected methods.
But auto-generating the documentation block for the override method in eclipse leads to the following:
/* * (non-Javadoc) * * @see javax.swing.JComponent#paintComponent(java.awt.Graphics) */
Is this a good way to document overrides? Should I inherit / copy documentation from base class?
What do you do as documentation for this special case? I would like to familiarize myself with the practice that is being used.
override documentation javadoc
Janusz
source share