src/share/classes/com/sun/tools/javac/processing/JavacProcessingEnvironment.java

Print this page

        

*** 1514,1523 **** --- 1514,1531 ---- */ 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) {