@AutoService(value=javax.annotation.processing.Processor.class)
@SupportedAnnotationTypes(value="com.google.auto.value.AutoValue")
@IncrementalAnnotationProcessor(value=DYNAMIC)
public class AutoValueProcessor
extends javax.annotation.processing.AbstractProcessor
| Modifier and Type | Class and Description |
|---|---|
static class |
AutoValueOrOneOfProcessor.Property
A property of an
@AutoValue or @AutoOneOf class, defined by one of its abstract
methods. |
| Constructor and Description |
|---|
AutoValueProcessor() |
AutoValueProcessor(java.lang.Iterable<? extends AutoValueExtension> extensions) |
| Modifier and Type | Method and Description |
|---|---|
java.util.Set<java.lang.String> |
getSupportedOptions() |
javax.lang.model.SourceVersion |
getSupportedSourceVersion() |
void |
init(javax.annotation.processing.ProcessingEnvironment processingEnv) |
boolean |
process(java.util.Set<? extends javax.lang.model.element.TypeElement> annotations,
javax.annotation.processing.RoundEnvironment roundEnv) |
public AutoValueProcessor()
public AutoValueProcessor(java.lang.Iterable<? extends AutoValueExtension> extensions)
public void init(javax.annotation.processing.ProcessingEnvironment processingEnv)
init in interface javax.annotation.processing.Processorpublic java.util.Set<java.lang.String> getSupportedOptions()
getSupportedOptions in interface javax.annotation.processing.ProcessorgetSupportedOptions in class javax.annotation.processing.AbstractProcessorpublic final javax.lang.model.SourceVersion getSupportedSourceVersion()
getSupportedSourceVersion in interface javax.annotation.processing.ProcessorgetSupportedSourceVersion in class javax.annotation.processing.AbstractProcessorpublic final boolean process(java.util.Set<? extends javax.lang.model.element.TypeElement> annotations,
javax.annotation.processing.RoundEnvironment roundEnv)
process in interface javax.annotation.processing.Processorprocess in class javax.annotation.processing.AbstractProcessorCopyright © 2019 Google LLC. All Rights Reserved.