@SupportedAnnotationTypes(value="com.google.auto.value.AutoValue") public class AutoValueProcessor extends AbstractProcessor
| Modifier and Type | Class and Description |
|---|---|
static class |
AutoValueishProcessor.GetterProperty
A
AutoValueishProcessor.Property that corresponds to an abstract getter method in the source. |
static class |
AutoValueishProcessor.Property
A property of an
@AutoValue or @AutoOneOf class, defined by one of its abstract
methods. |
processingEnv| Constructor and Description |
|---|
AutoValueProcessor() |
AutoValueProcessor(Iterable<? extends AutoValueExtension> testExtensions) |
| Modifier and Type | Method and Description |
|---|---|
<any> |
getSupportedOptions() |
SourceVersion |
getSupportedSourceVersion() |
void |
init(ProcessingEnvironment processingEnv) |
boolean |
process(Set<? extends TypeElement> annotations,
RoundEnvironment roundEnv) |
getCompletions, getSupportedAnnotationTypes, isInitializedpublic AutoValueProcessor()
public AutoValueProcessor(Iterable<? extends AutoValueExtension> testExtensions)
public void init(ProcessingEnvironment processingEnv)
public <any> getSupportedOptions()
getSupportedOptions in interface ProcessorgetSupportedOptions in class AbstractProcessorpublic final SourceVersion getSupportedSourceVersion()
getSupportedSourceVersion in interface ProcessorgetSupportedSourceVersion in class AbstractProcessorpublic final boolean process(Set<? extends TypeElement> annotations, RoundEnvironment roundEnv)
process in interface Processorprocess in class AbstractProcessorCopyright © 2021 Google LLC. All rights reserved.