public static Result compile ( DiagnosticListener < JavaFileObject > listener , String [ ] args ) { return ErrorProneCompiler . builder ( ) . listenToDiagnostics ( listener ) . build ( ) . run ( args ) ; }
Compiles in - process .