Class AutoFactoryProcessor
- java.lang.Object
-
- javax.annotation.processing.AbstractProcessor
-
- com.google.auto.factory.processor.AutoFactoryProcessor
-
- All Implemented Interfaces:
Processor
@AutoService(javax.annotation.processing.Processor.class) public final class AutoFactoryProcessor extends AbstractProcessor
The annotation processor that generates factories forAutoFactory
annotations.- Author:
- Gregory Kick
-
-
Field Summary
-
Fields inherited from class javax.annotation.processing.AbstractProcessor
processingEnv
-
-
Constructor Summary
Constructors Constructor Description AutoFactoryProcessor()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Set<String>
getSupportedAnnotationTypes()
SourceVersion
getSupportedSourceVersion()
void
init(ProcessingEnvironment processingEnv)
boolean
process(Set<? extends TypeElement> annotations, RoundEnvironment roundEnv)
-
Methods inherited from class javax.annotation.processing.AbstractProcessor
getCompletions, getSupportedOptions, isInitialized
-
-
-
-
Method Detail
-
init
public void init(ProcessingEnvironment processingEnv)
- Specified by:
init
in interfaceProcessor
- Overrides:
init
in classAbstractProcessor
-
process
public boolean process(Set<? extends TypeElement> annotations, RoundEnvironment roundEnv)
- Specified by:
process
in interfaceProcessor
- Specified by:
process
in classAbstractProcessor
-
getSupportedAnnotationTypes
public Set<String> getSupportedAnnotationTypes()
- Specified by:
getSupportedAnnotationTypes
in interfaceProcessor
- Overrides:
getSupportedAnnotationTypes
in classAbstractProcessor
-
getSupportedSourceVersion
public SourceVersion getSupportedSourceVersion()
- Specified by:
getSupportedSourceVersion
in interfaceProcessor
- Overrides:
getSupportedSourceVersion
in classAbstractProcessor
-
-