Class RequiredAnnotationProcessor
java.lang.Object
javax.annotation.processing.AbstractProcessor
com.google.errorprone.refaster.annotation.RequiredAnnotationProcessor
- All Implemented Interfaces:
Processor
@SupportedAnnotationTypes("*")
public final class RequiredAnnotationProcessor
extends AbstractProcessor
Enforces
@RequiredAnnotation
as an annotation processor.- Author:
- lowasser@google.com (Louis Wasserman)
-
Field Summary
Fields inherited from class javax.annotation.processing.AbstractProcessor
processingEnv
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
process
(Set<? extends TypeElement> annotations, RoundEnvironment roundEnv) Methods inherited from class javax.annotation.processing.AbstractProcessor
getCompletions, getSupportedAnnotationTypes, getSupportedOptions, init, isInitialized
-
Constructor Details
-
RequiredAnnotationProcessor
public RequiredAnnotationProcessor()
-
-
Method Details
-
process
- Specified by:
process
in interfaceProcessor
- Specified by:
process
in classAbstractProcessor
-
getSupportedSourceVersion
- Specified by:
getSupportedSourceVersion
in interfaceProcessor
- Overrides:
getSupportedSourceVersion
in classAbstractProcessor
-