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

Clarify intention of Elements.{getPackageOf, getModuleOf}

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Fixed
    • Icon: P4 P4
    • 14
    • 14
    • core-libs
    • None

      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.

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

              Created:
              Updated:
              Resolved: