Processor
@AutoService(javax.annotation.processing.Processor.class) public class AutoValueProcessor extends AbstractProcessor
AutoValue
,
AutoValue User's GuideModifier 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, isInitialized
public AutoValueProcessor()
public AutoValueProcessor(Iterable<? extends AutoValueExtension> extensions)
public Set<String> getSupportedAnnotationTypes()
getSupportedAnnotationTypes
in interface Processor
getSupportedAnnotationTypes
in class AbstractProcessor
public SourceVersion getSupportedSourceVersion()
getSupportedSourceVersion
in interface Processor
getSupportedSourceVersion
in class AbstractProcessor
public void init(ProcessingEnvironment processingEnv)
init
in interface Processor
init
in class AbstractProcessor
public boolean process(Set<? extends TypeElement> annotations, RoundEnvironment roundEnv)
process
in interface Processor
process
in class AbstractProcessor
Copyright © 2019 Google, Inc.. All rights reserved.