Class MemoizedValidator
- java.lang.Object
-
- javax.annotation.processing.AbstractProcessor
-
- com.google.auto.value.extension.memoized.processor.MemoizedValidator
-
- All Implemented Interfaces:
Processor
@AutoService(javax.annotation.processing.Processor.class) @IncrementalAnnotationProcessor(ISOLATING) @SupportedAnnotationTypes("com.google.auto.value.extension.memoized.Memoized") public final class MemoizedValidator extends AbstractProcessor
An annotationProcessor
that reports errors for@Memoized
methods that are not insideAutoValue
-annotated classes.
-
-
Field Summary
-
Fields inherited from class javax.annotation.processing.AbstractProcessor
processingEnv
-
-
Constructor Summary
Constructors Constructor Description MemoizedValidator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SourceVersion
getSupportedSourceVersion()
boolean
process(Set<? extends TypeElement> annotations, RoundEnvironment roundEnv)
-
Methods inherited from class javax.annotation.processing.AbstractProcessor
getCompletions, getSupportedAnnotationTypes, getSupportedOptions, init, isInitialized
-
-
-
-
Method Detail
-
process
public final boolean process(Set<? extends TypeElement> annotations, RoundEnvironment roundEnv)
- Specified by:
process
in interfaceProcessor
- Specified by:
process
in classAbstractProcessor
-
getSupportedSourceVersion
public SourceVersion getSupportedSourceVersion()
- Specified by:
getSupportedSourceVersion
in interfaceProcessor
- Overrides:
getSupportedSourceVersion
in classAbstractProcessor
-
-