Processor@AutoService(javax.annotation.processing.Processor.class) public class AutoValueProcessor extends AbstractProcessor
AutoValue,
AutoValue User's Guide| Modifier and Type | Class | Description |
|---|---|---|
static class |
AutoValueProcessor.Property |
A property of an
@AutoValue class, defined by one of its abstract methods. |
processingEnv| Constructor | Description |
|---|---|
AutoValueProcessor() |
|
AutoValueProcessor(Iterable<? extends AutoValueExtension> extensions) |
| Modifier and Type | Method | Description |
|---|---|---|
Set<String> |
getSupportedAnnotationTypes() |
|
SourceVersion |
getSupportedSourceVersion() |
|
void |
init(ProcessingEnvironment processingEnv) |
|
boolean |
process(Set<? extends TypeElement> annotations,
RoundEnvironment roundEnv) |
getCompletions, getSupportedOptions, isInitializedpublic AutoValueProcessor()
public AutoValueProcessor(Iterable<? extends AutoValueExtension> extensions)
public Set<String> getSupportedAnnotationTypes()
getSupportedAnnotationTypes in interface ProcessorgetSupportedAnnotationTypes in class AbstractProcessorpublic SourceVersion getSupportedSourceVersion()
getSupportedSourceVersion in interface ProcessorgetSupportedSourceVersion in class AbstractProcessorpublic void init(ProcessingEnvironment processingEnv)
init in interface Processorinit in class AbstractProcessorpublic boolean process(Set<? extends TypeElement> annotations, RoundEnvironment roundEnv)
process in interface Processorprocess in class AbstractProcessorCopyright © 2019 Google, Inc.. All rights reserved.