Javadoc
Jump to navigation
Jump to search
Internal
Link to External Content
/**
* For more details see {@linktourl https://example.com}
*/
Inheriting an Overridden Method Comments
When implementing an interface method in an implementation class without providing any javadoc for the overridden method, the overridden method automatically inherits the javadoc of the interface method, with some additional clarifying message to the effect that the documentation was inherited:
However, if the overridden
An overridden method automatically inherits the javadoc of its
If you define javadocs in the subclass they will replace the inherited javadocs, but you can use {@inheritDoc} to include the respective superclass javadoc comments in the subclass javadocs.