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

Refine the Doclet APIs

XMLWordPrintable

    • b147
    • generic
    • other
    • Verified

      The Doclet related APIs specifically DocletEnvironment.java needs some adjustments based on the doclets use case, and is basically
      a fallout from the modularization work see JDK-8159305

      1. Simplify getSelectedItems() to getSelectedItems(Kind.{MODULE, PACKAGE, TYPE})
      2. Add isVisible(Element)
      3. Simplify getIncludedModulesElements(), getIncludedPackageElements(), getIncludedTypeElements(), to getIncludedElements((Kind.{MODULE, PACKAGE, TYPE})

      Fixup the calls to these and provided shouldDocument(Element) utility for stddoclet's internal use.

            ksrini Kumar Srinivasan
            ksrini Kumar Srinivasan
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: