@AutoService(value=javax.annotation.processing.Processor.class)
@SupportedOptions(value="com.google.auto.value.OmitIdentifiers")
public class AutoValueProcessor
extends javax.annotation.processing.AbstractProcessor
AutoValue,
AutoValue User's Guide| Modifier and Type | Class and Description |
|---|---|
static class |
AutoValueProcessor.Property
A property of an
@AutoValue class, defined by one of its abstract methods. |
static class |
AutoValueProcessor.SimpleMethod
A basic method on an @AutoValue class with no specific attached information, such as a
toBuilder() method, or a build() method, where only the name and access type is needed
in context. |
| Constructor and Description |
|---|
AutoValueProcessor() |
AutoValueProcessor(java.lang.Iterable<? extends AutoValueExtension> extensions) |
| Modifier and Type | Method and Description |
|---|---|
java.util.Set<java.lang.String> |
getSupportedAnnotationTypes() |
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 java.util.Set<java.lang.String> getSupportedAnnotationTypes()
getSupportedAnnotationTypes in interface javax.annotation.processing.ProcessorgetSupportedAnnotationTypes in class javax.annotation.processing.AbstractProcessorpublic javax.lang.model.SourceVersion getSupportedSourceVersion()
getSupportedSourceVersion in interface javax.annotation.processing.ProcessorgetSupportedSourceVersion in class javax.annotation.processing.AbstractProcessorpublic void init(javax.annotation.processing.ProcessingEnvironment processingEnv)
init in interface javax.annotation.processing.Processorinit in class javax.annotation.processing.AbstractProcessorpublic 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 © 2017 Google, Inc.. All Rights Reserved.