private void logReachableTypes(TreeLogger logger) {
PrintWriter printWriter = null;
if (logOutputStream != null) {
// Route the TreeLogger output to an output stream.
printWriter = new PrintWriter(logOutputStream);
PrintWriterTreeLogger printWriterTreeLogger = new PrintWriterTreeLogger(
printWriter);
printWriterTreeLogger.setMaxDetail(TreeLogger.ALL);
logger = printWriterTreeLogger;
}
logger.log(TreeLogger.INFO, "Reachable types computed on: "
+ new Date().toString());