Package com.google.errorprone
Class DocGenProcessor
- java.lang.Object
-
- javax.annotation.processing.AbstractProcessor
-
- com.google.errorprone.DocGenProcessor
-
- All Implemented Interfaces:
Processor
@AutoService(javax.annotation.processing.Processor.class) @SupportedAnnotationTypes("com.google.errorprone.BugPattern") public class DocGenProcessor extends AbstractProcessor
Annotation processor which visits all classes that have aBugPatternannotation, 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
Constructors Constructor Description DocGenProcessor()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SourceVersiongetSupportedSourceVersion()voidinit(ProcessingEnvironment processingEnv)booleanprocess(Set<? extends TypeElement> annotations, RoundEnvironment roundEnv)-
Methods inherited from class javax.annotation.processing.AbstractProcessor
getCompletions, getSupportedAnnotationTypes, getSupportedOptions, isInitialized
-
-
-
-
Method Detail
-
getSupportedSourceVersion
public SourceVersion getSupportedSourceVersion()
- Specified by:
getSupportedSourceVersionin interfaceProcessor- Overrides:
getSupportedSourceVersionin classAbstractProcessor
-
init
public void init(ProcessingEnvironment processingEnv)
- Specified by:
initin interfaceProcessor- Overrides:
initin classAbstractProcessor
-
process
public boolean process(Set<? extends TypeElement> annotations, RoundEnvironment roundEnv)
- Specified by:
processin interfaceProcessor- Specified by:
processin classAbstractProcessor
-
-