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

Access JavaFileObject from Element(s)

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Fixed
    • Icon: P3 P3
    • 18
    • None
    • core-libs

      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.

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

              Created:
              Updated:
              Resolved: