Top Description Constructors Methods
com.google.auto.value.processor

public Class AutoValueBuilderProcessor

extends javax.annotation.processing.AbstractProcessor
Class Inheritance
Annotations
@AutoService:javax.annotation.processing.Processor
@IncrementalAnnotationProcessor:ISOLATING
@javax.annotation.processing.SupportedAnnotationTypes
Static Imports
com.google.auto.value.processor.AutoValueishProcessor.hasAnnotationMirror, .ClassNames.AUTO_VALUE_BUILDER_NAME, .ClassNames.AUTO_VALUE_NAME

Annotation processor that checks that the type that AutoValue.Builder is applied to is nested inside an @AutoValue class. The actual code generation for builders is done in AutoValueProcessor.
Author
Éamonn McManus

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public javax.lang.model.SourceVersion
public boolean
process(Set<? extends javax.lang.model.element.TypeElement> annotations, javax.annotation.processing.RoundEnvironment roundEnv)

private void
validate(javax.lang.model.element.Element annotatedType, String errorMessage)

Constructor Detail

AutoValueBuilderProcessorback to summary
public AutoValueBuilderProcessor()

Method Detail

getSupportedSourceVersionback to summary
public javax.lang.model.SourceVersion getSupportedSourceVersion()
Annotations
@Override
processback to summary
public boolean process(Set<? extends javax.lang.model.element.TypeElement> annotations, javax.annotation.processing.RoundEnvironment roundEnv)
Annotations
@Override
validateback to summary
private void validate(javax.lang.model.element.Element annotatedType, String errorMessage)