Details
-
Sub-task
-
Resolution: Delivered
-
P3
-
22
Description
An optional parameter has been added to the `inheritDoc` tag so that an author can specify the supertype from which to search for inherited documentation. Additionally, the algorithm to search for inherited documentation has been modified to better align with the method inheriting and overriding rules in Java Language Specification.
For more details, see the following sections of the Documentation Comment Specification for the Standard Doclet:
- [Method Documentation](https://docs.oracle.com/en/java/javase/22/docs/specs/javadoc/doc-comment-spec.html#method-documentation)
- [`{@inheritDoc}`](https://docs.oracle.com/en/java/javase/22/docs/specs/javadoc/doc-comment-spec.html#inheritdoc)
For more details, see the following sections of the Documentation Comment Specification for the Standard Doclet:
- [Method Documentation](https://docs.oracle.com/en/java/javase/22/docs/specs/javadoc/doc-comment-spec.html#method-documentation)
- [`{@inheritDoc}`](https://docs.oracle.com/en/java/javase/22/docs/specs/javadoc/doc-comment-spec.html#inheritdoc)