Package com.google.auto.value.processor
Class AutoBuilderProcessor
- java.lang.Object
-
- javax.annotation.processing.AbstractProcessor
-
- com.google.auto.value.processor.AutoBuilderProcessor
-
- All Implemented Interfaces:
Processor
@AutoService(javax.annotation.processing.Processor.class) @SupportedAnnotationTypes("com.google.auto.value.AutoBuilder") @IncrementalAnnotationProcessor(ISOLATING) public class AutoBuilderProcessor extends AbstractProcessor
Javac annotation processor (compiler plugin) for builders; user code never references this class.- Author:
- Éamonn McManus
- See Also:
- AutoValue User's Guide
-
-
Field Summary
-
Fields inherited from class javax.annotation.processing.AbstractProcessor
processingEnv
-
-
Constructor Summary
Constructors Constructor Description AutoBuilderProcessor()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Set<String>
getSupportedOptions()
SourceVersion
getSupportedSourceVersion()
void
init(ProcessingEnvironment processingEnv)
boolean
process(Set<? extends TypeElement> annotations, RoundEnvironment roundEnv)
-
Methods inherited from class javax.annotation.processing.AbstractProcessor
getCompletions, getSupportedAnnotationTypes, isInitialized
-
-
-
-
Method Detail
-
getSupportedOptions
public Set<String> getSupportedOptions()
- Specified by:
getSupportedOptions
in interfaceProcessor
- Overrides:
getSupportedOptions
in classAbstractProcessor
-
init
public void init(ProcessingEnvironment processingEnv)
-
getSupportedSourceVersion
public final SourceVersion getSupportedSourceVersion()
- Specified by:
getSupportedSourceVersion
in interfaceProcessor
- Overrides:
getSupportedSourceVersion
in classAbstractProcessor
-
process
public final boolean process(Set<? extends TypeElement> annotations, RoundEnvironment roundEnv)
- Specified by:
process
in interfaceProcessor
- Specified by:
process
in classAbstractProcessor
-
-