Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8285470

Improve handling of @inheritDoc

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: 19
    • Fix Version/s: 19
    • Component/s: tools
    • Labels:

      Description

      The only taglet that along with its own tag needs to know the immediately enclosing tag is InheritDocTaglet:

          @return {@inheritDoc}
          @throws NullPointerException {@inheritDoc}
          @param p {@inheritDoc}

      However, the immediately enclosing tag is unconditionally passed to all taglets. If we stop passing it and make InheritDocTaglet compute it instead, the code becomes cleaner.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              prappo Pavel Rappo
              Reporter:
              prappo Pavel Rappo
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: