question: public Factory ( JavacMessages messages , String prefix ) { this . prefix = prefix ; this . formatter = new BasicDiagnosticFormatter ( messages ) ; defaultErrorFlags = EnumSet . of ( DiagnosticFlag . MANDATORY ) ; }
target:  Create a new diagnostic factory. 