@AutoService(value=javax.annotation.processing.Processor.class) @SupportedAnnotationTypes(value="com.google.auto.value.AutoOneOf") @SupportedOptions(value="com.google.auto.value.OmitIdentifiers") public class AutoOneOfProcessor extends AbstractProcessor
| Modifier and Type | Class and Description |
|---|---|
static class |
AutoValueOrOneOfProcessor.Property
A property of an
@AutoValue or @AutoOneOf class, defined by one of its abstract
methods. |
processingEnv| Constructor and Description |
|---|
AutoOneOfProcessor() |
| Modifier and Type | Method and Description |
|---|---|
SourceVersion |
getSupportedSourceVersion() |
void |
init(ProcessingEnvironment processingEnv) |
boolean |
process(Set<? extends TypeElement> annotations,
RoundEnvironment roundEnv) |
getCompletions, getSupportedAnnotationTypes, getSupportedOptions, isInitializedpublic void init(ProcessingEnvironment processingEnv)
init in interface Processorinit in class AbstractProcessorpublic final SourceVersion getSupportedSourceVersion()
getSupportedSourceVersion in interface ProcessorgetSupportedSourceVersion in class AbstractProcessorpublic final boolean process(Set<? extends TypeElement> annotations, RoundEnvironment roundEnv)
process in interface Processorprocess in class AbstractProcessorCopyright © 2022. All rights reserved.