Filer
Interface Filer
public interface Filer
This interface supports the creation of new files by an annotation processor. Files created in this way will be known to the annotation processing tool implementing this interface, better enabling the tool to manage them. Source and class files so created will be considered for processing by the tool in a subsequent round of processing after the close
method has been called on the Writer
or OutputStream
used to write the contents of the file. Three kinds of files are distinguished: source files, class files, and auxiliary resource files.
There are two distinguished supported locations (subtrees within the logical file system) where newly created files