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

Access JavaFileObject from Element(s)

    XMLWordPrintable

Details

    • Enhancement
    • Resolution: Fixed
    • P3
    • 18
    • None
    • 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

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

              Dates

                Created:
                Updated:
                Resolved: