@@ -1514,10 +1514,18 @@ */ public Context getContext() { return context; } + /** + * Internal use method to return the writer being used by the + * processing environment. + */ + public PrintWriter getWriter() { + return context.get(Log.outKey); + } + public String toString() { return "javac ProcessingEnvironment"; } public static boolean isValidOptionName(String optionName) {