// Report problems.
//
// let's make a categorizer, so we can differentiate errors and warnings
CompilerProblemCategorizer compilerProblemCategorizer = new CompilerProblemCategorizer();
problemFormatter = new WorkspaceProblemFormatter(workspace, compilerProblemCategorizer);
ProblemPrinter printer = new ProblemPrinter(problemFormatter, err);
problemCount += printer.printProblems(problemQuery.getFilteredProblems());
startTime = System.nanoTime();
}