I have looked over JavaDoc reference, and while I understand basic difference between @see
(various links) and {@inheritDoc}
(export of superclass JavaDoc comment), I need clarification on how things actually implemented.
In Eclipse IDE when I select “Generate Element Comments” for the inherited method (from interface, or toString() override, and so forth) it creates following comment
/* (non-Javadoc)
* @see SomeClass#someMethod()
*/
If I am required to produce JavaDoc should I leave it at that, replace @see
with {@inheritDoc}
, or turn it in bona fide JavaDoc as such:
/**
* {@inheritDoc}
*/
And when I do that, should I still keep the class#method flag?