Class ErrorProneAnalyzer
java.lang.Object
com.google.errorprone.ErrorProneAnalyzer
- All Implemented Interfaces:
com.sun.source.util.TaskListener
A
TaskListener
that runs Error Prone over attributed compilation units.-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
ATaskListener
that performs refactorings. -
Method Summary
Modifier and TypeMethodDescriptionstatic ErrorProneAnalyzer
createAnalyzer
(ScannerSupplier scannerSupplier, ErrorProneOptions epOptions, com.sun.tools.javac.util.Context context, RefactoringCollection[] refactoringCollection) static ErrorProneAnalyzer
createByScanningForPlugins
(ScannerSupplier scannerSupplier, ErrorProneOptions errorProneOptions, com.sun.tools.javac.util.Context context) void
finished
(com.sun.source.util.TaskEvent taskEvent) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.sun.source.util.TaskListener
started
-
Method Details
-
createAnalyzer
public static ErrorProneAnalyzer createAnalyzer(ScannerSupplier scannerSupplier, ErrorProneOptions epOptions, com.sun.tools.javac.util.Context context, RefactoringCollection[] refactoringCollection) -
createByScanningForPlugins
public static ErrorProneAnalyzer createByScanningForPlugins(ScannerSupplier scannerSupplier, ErrorProneOptions errorProneOptions, com.sun.tools.javac.util.Context context) -
finished
public void finished(com.sun.source.util.TaskEvent taskEvent) - Specified by:
finished
in interfacecom.sun.source.util.TaskListener
-