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

Access JavaFileObject from Element(s)

    XMLWordPrintable

    Details

    • Type: Enhancement
    • Status: Resolved
    • Priority: P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 18
    • Component/s: core-libs

      Description

      It would be good to be able to access the JavaFileObject containing an element. This might be a source file or class file.

      It may be that there is no useful definition for a PackageElement,, although since the "obvious" definition for a ModuleElement is its module-info file, the analogy may be that the definition for a PackageElement is its package-info file, if it exists, with null or some exception if there is no package-info.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              darcy Joe Darcy
              Reporter:
              jjg Jonathan Gibbons
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: