Class DocGenProcessor
java.lang.Object
javax.annotation.processing.AbstractProcessor
com.google.errorprone.DocGenProcessor
- All Implemented Interfaces:
Processor
@AutoService(Processor.class)
@SupportedAnnotationTypes("com.google.errorprone.BugPattern")
public class DocGenProcessor
extends AbstractProcessor
Annotation processor which visits all classes that have a
BugPattern
annotation, and
writes a tab-delimited text file dumping the data found.- Author:
- eaftan@google.com (Eddie Aftandilian), alexeagle@google.com (Alex Eagle)
-
Field Summary
Fields inherited from class javax.annotation.processing.AbstractProcessor
processingEnv
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
init
(ProcessingEnvironment processingEnv) boolean
process
(Set<? extends TypeElement> annotations, RoundEnvironment roundEnv) Methods inherited from class javax.annotation.processing.AbstractProcessor
getCompletions, getSupportedAnnotationTypes, getSupportedOptions, isInitialized
-
Constructor Details
-
DocGenProcessor
public DocGenProcessor()
-
-
Method Details
-
getSupportedSourceVersion
- Specified by:
getSupportedSourceVersion
in interfaceProcessor
- Overrides:
getSupportedSourceVersion
in classAbstractProcessor
-
init
- Specified by:
init
in interfaceProcessor
- Overrides:
init
in classAbstractProcessor
-
process
- Specified by:
process
in interfaceProcessor
- Specified by:
process
in classAbstractProcessor
-