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

Improve handling of @inheritDoc

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • 19
    • 19
    • tools

      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.

            prappo Pavel Rappo (Inactive)
            prappo Pavel Rappo (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: