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

Clarify intention of Elements.{getPackageOf, getModuleOf}

    XMLWordPrintable

    Details

    • Type: Enhancement
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: 14
    • Fix Version/s: 14
    • Component/s: core-libs
    • Labels:
      None

      Description

      The helper methods Elements.{getPackageOf, getModuleOf} are intended to return the enclosing package/module of an element so that a user doesn't have iterate up to a top-level type to get its package/module.

      This could be clarified in the methods' specification.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              darcy Joe Darcy
              Reporter:
              darcy Joe Darcy
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: