Details
-
Enhancement
-
Resolution: Fixed
-
P3
-
None
-
b25
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.
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
- csr for
-
JDK-8272106 Access JavaFileObject from Element(s)
-
- Closed
-
- duplicates
-
JDK-8044743 Suggest making it possible to retrieve the underlying JavaFileObject of a TypeElement
-
- Closed
-
- relates to
-
JDK-8278930 javac tries to compile a file twice via PackageElement.getEnclosedElements
-
- Resolved
-
-
JDK-8277522 Make formatting of null consistent in Elements
-
- Resolved
-
-
JDK-8275508 Pass originating elements from Filer to JavaFileManager
-
- Closed
-
(2 links to)
There are no Sub-Tasks for this issue.