6501749: 6501749 Filer should state connection between created files and root elements

Tue, 24 Feb 2009 17:16:18 -0800

author
darcy
date
Tue, 24 Feb 2009 17:16:18 -0800
changeset 231
435d5d9bb87d
parent 225
c4d3cbe3765a
child 232
1fbc1cc6e260

6501749: 6501749 Filer should state connection between created files and root elements
Reviewed-by: jjg

src/share/classes/javax/annotation/processing/Filer.java file | annotate | diff | comparison | revisions
     1.1 --- a/src/share/classes/javax/annotation/processing/Filer.java	Sat Feb 21 09:58:08 2009 -0800
     1.2 +++ b/src/share/classes/javax/annotation/processing/Filer.java	Tue Feb 24 17:16:18 2009 -0800
     1.3 @@ -35,9 +35,11 @@
     1.4   * processor.  Files created in this way will be known to the
     1.5   * annotation processing tool implementing this interface, better
     1.6   * enabling the tool to manage them.  Source and class files so
     1.7 - * created will be considered for processing by the tool after the
     1.8 - * {@code close} method has been called on the {@code Writer} or
     1.9 - * {@code OutputStream} used to write the contents of the file.
    1.10 + * created will be {@linkplain RoundEnvironment#getRootElements
    1.11 + * considered for processing} by the tool in a subsequent {@linkplain
    1.12 + * RoundEnvironment round of processing} after the {@code close}
    1.13 + * method has been called on the {@code Writer} or {@code
    1.14 + * OutputStream} used to write the contents of the file.
    1.15   *
    1.16   * Three kinds of files are distinguished: source files, class files,
    1.17   * and auxiliary resource files.

mercurial