From 0b44eecef272e5910ce6b8bdb790a3db7cf34435 Mon Sep 17 00:00:00 2001 From: Joe Darcy Date: Tue, 24 Feb 2009 17:16:18 -0800 Subject: [PATCH] 6501749: 6501749 Filer should state connection between created files and root elements Reviewed-by: jjg --- .../share/classes/javax/annotation/processing/Filer.java | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/langtools/src/share/classes/javax/annotation/processing/Filer.java b/langtools/src/share/classes/javax/annotation/processing/Filer.java index e0da17b5169..7ebdc6fb72a 100644 --- a/langtools/src/share/classes/javax/annotation/processing/Filer.java +++ b/langtools/src/share/classes/javax/annotation/processing/Filer.java @@ -35,9 +35,11 @@ import java.io.IOException; * 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 after the - * {@code close} method has been called on the {@code Writer} or - * {@code OutputStream} used to write the contents of the file. + * created will be {@linkplain RoundEnvironment#getRootElements + * considered for processing} by the tool in a subsequent {@linkplain + * RoundEnvironment round of processing} after the {@code close} + * method has been called on the {@code Writer} or {@code + * OutputStream} used to write the contents of the file. * * Three kinds of files are distinguished: source files, class files, * and auxiliary resource files.