Processor
@AutoService(javax.annotation.processing.Processor.class) public class AutoValueBuilderProcessor extends AbstractProcessor
AutoValue.Builder
is applied to is
nested inside an @AutoValue
class. The actual code generation for builders is done in
AutoValueProcessor
.processingEnv
Constructor | Description |
---|---|
AutoValueBuilderProcessor() |
Modifier and Type | Method | Description |
---|---|---|
Set<String> |
getSupportedAnnotationTypes() |
|
SourceVersion |
getSupportedSourceVersion() |
|
boolean |
process(Set<? extends TypeElement> annotations,
RoundEnvironment roundEnv) |
getCompletions, getSupportedOptions, init, isInitialized
public Set<String> getSupportedAnnotationTypes()
getSupportedAnnotationTypes
in interface Processor
getSupportedAnnotationTypes
in class AbstractProcessor
public SourceVersion getSupportedSourceVersion()
getSupportedSourceVersion
in interface Processor
getSupportedSourceVersion
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.