@AutoService(value=javax.annotation.processing.Processor.class) public class AutoValueBuilderProcessor extends javax.annotation.processing.AbstractProcessor
AutoValue.Builder
is applied to is
nested inside an @AutoValue
class. The actual code generation for builders is done in
AutoValueProcessor
.Constructor and Description |
---|
AutoValueBuilderProcessor() |
Modifier and Type | Method and Description |
---|---|
java.util.Set<java.lang.String> |
getSupportedAnnotationTypes() |
javax.lang.model.SourceVersion |
getSupportedSourceVersion() |
boolean |
process(java.util.Set<? extends javax.lang.model.element.TypeElement> annotations,
javax.annotation.processing.RoundEnvironment roundEnv) |
private void |
validate(javax.lang.model.element.Element annotatedType,
java.lang.String errorMessage) |
public java.util.Set<java.lang.String> getSupportedAnnotationTypes()
getSupportedAnnotationTypes
in interface javax.annotation.processing.Processor
getSupportedAnnotationTypes
in class javax.annotation.processing.AbstractProcessor
public javax.lang.model.SourceVersion getSupportedSourceVersion()
getSupportedSourceVersion
in interface javax.annotation.processing.Processor
getSupportedSourceVersion
in class javax.annotation.processing.AbstractProcessor
public boolean process(java.util.Set<? extends javax.lang.model.element.TypeElement> annotations, javax.annotation.processing.RoundEnvironment roundEnv)
process
in interface javax.annotation.processing.Processor
process
in class javax.annotation.processing.AbstractProcessor
private void validate(javax.lang.model.element.Element annotatedType, java.lang.String errorMessage)