Package com.google.auto.value.processor
Class AutoValueBuilderProcessor
java.lang.Object
javax.annotation.processing.AbstractProcessor
com.google.auto.value.processor.AutoValueBuilderProcessor
- All Implemented Interfaces:
Processor
@AutoService(javax.annotation.processing.Processor.class)
@SupportedAnnotationTypes("com.google.auto.value.AutoValue.Builder")
public class AutoValueBuilderProcessor
extends AbstractProcessor
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
.-
Field Summary
Fields inherited from class javax.annotation.processing.AbstractProcessor
processingEnv
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
process
(Set<? extends TypeElement> annotations, RoundEnvironment roundEnv) private void
Methods inherited from class javax.annotation.processing.AbstractProcessor
getCompletions, getSupportedAnnotationTypes, getSupportedOptions, init, isInitialized
-
Constructor Details
-
AutoValueBuilderProcessor
public AutoValueBuilderProcessor()
-
-
Method Details
-
getSupportedSourceVersion
- Specified by:
getSupportedSourceVersion
in interfaceProcessor
- Overrides:
getSupportedSourceVersion
in classAbstractProcessor
-
process
- Specified by:
process
in interfaceProcessor
- Specified by:
process
in classAbstractProcessor
-
validate
-