I would also like to see support for the @inheritDoc annotation.
I think I saw a post from @yole on another forum saying that /** {@inheritDoc} */ is superfluous and blows up the code; however, while I get where he is coming from I still would love to see it for the following reasons:
/** {@inheritDoc} */ at least lets me know that the code author put some thought into documenting the method and decided that the parent documentation was sufficient./** {@inheritDoc} */ to extend the original documentation with more specific information by for example adding more specific details about the implementation without rewriting all of the parent javadoc.Wouldn't it be possible to both keep the default behavior of inheriting documentation if none is present and supporting the annotation?
While mere /** {@inheritDoc} */ is probably poor code style, it is actually very helpful to partially override inherited javadoc. Either by extending (prepending/appending) the documentation of a specific element (parameter, exception....) or by selectively replacing parts.
I agree with @pdvrieze, I use {@inheritDoc} a lot exactly for that purpose. It allows to provide additional details, which is particularly interesting when you have different implementations of the same base type.
I know I'm a bit late, but I'm interested by this too and since this issue has never been closed, I'd like to have it discussed again.
Little late as well, but I too would also like this for the very same reason @pdvrieze said.
Copying and pasting documentation from the parent is just more documentation to maintain and linking back to the parent's documentation is a little inconvenient.
Is this feature even being considered?
It seems very helpful in extending base class/interface documentation as others have already pointed out.
It should be fairly easy to do as a plugin when the 0.11.0 is released
Most helpful comment
While mere
/** {@inheritDoc} */is probably poor code style, it is actually very helpful to partially override inherited javadoc. Either by extending (prepending/appending) the documentation of a specific element (parameter, exception....) or by selectively replacing parts.