Remove a deprecated constructor
@@ -100,7 +100,8 @@ public final class ErrorPronePlugin extends BlazeJavaCompilerPlugin {
if (epOptions == null) {
epOptions = ErrorProneOptions.empty();
}
- errorProneAnalyzer = new ErrorProneAnalyzer(scannerSupplier, epOptions, context);
+ errorProneAnalyzer =
+ ErrorProneAnalyzer.createByScanningForPlugins(scannerSupplier, epOptions, context);
}
/** Run Error Prone analysis after performing dataflow checks. */
