-
Type:
Sub-task
-
Resolution: Delivered
-
Priority:
P3
-
Affects Version/s: 18
-
Component/s: tools
-
Verified
The `javax.tools.JavaFileManager` has been extended with two new methods, `getJavaFileForOutputForOriginatingFiles` and `getFileForOutputForOriginatingFiles`, that are used to create new files with specified originating files. The `Filer` uses these methods when creating new files (with `Filer.createSourceFile`, `Filer.createClassFile`, `Filer.createResource`) in order to pass along the files containing the _originating elements_.