Class MemoizedValidator
- java.lang.Object
-
- javax.annotation.processing.AbstractProcessor
-
- com.google.auto.common.BasicAnnotationProcessor
-
- com.google.auto.value.extension.memoized.MemoizedValidator
-
- All Implemented Interfaces:
javax.annotation.processing.Processor
@AutoService(javax.annotation.processing.Processor.class) public final class MemoizedValidator extends BasicAnnotationProcessor
An annotationProcessor
that reports errors for@Memoized
methods that are not insideAutoValue
-annotated classes.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description private static class
MemoizedValidator.ValidationStep
-
Nested classes/interfaces inherited from class com.google.auto.common.BasicAnnotationProcessor
BasicAnnotationProcessor.ProcessingStep
-
-
Constructor Summary
Constructors Constructor Description MemoizedValidator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description javax.lang.model.SourceVersion
getSupportedSourceVersion()
protected java.lang.Iterable<? extends BasicAnnotationProcessor.ProcessingStep>
initSteps()
Creates processing steps for this processor.-
Methods inherited from class com.google.auto.common.BasicAnnotationProcessor
getSupportedAnnotationTypes, init, postProcess, postRound, process
-
-
-
-
Method Detail
-
initSteps
protected java.lang.Iterable<? extends BasicAnnotationProcessor.ProcessingStep> initSteps()
Description copied from class:BasicAnnotationProcessor
Creates processing steps for this processor.AbstractProcessor.processingEnv
is guaranteed to be set when this method is invoked.- Specified by:
initSteps
in classBasicAnnotationProcessor
-
getSupportedSourceVersion
public javax.lang.model.SourceVersion getSupportedSourceVersion()
- Specified by:
getSupportedSourceVersion
in interfacejavax.annotation.processing.Processor
- Overrides:
getSupportedSourceVersion
in classjavax.annotation.processing.AbstractProcessor
-
-