@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
AutoOneOf
,
AutoValue User's GuideModifier 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, isInitialized
public void init(ProcessingEnvironment processingEnv)
init
in interface Processor
init
in class AbstractProcessor
public final SourceVersion getSupportedSourceVersion()
getSupportedSourceVersion
in interface Processor
getSupportedSourceVersion
in class AbstractProcessor
public final boolean process(Set<? extends TypeElement> annotations, RoundEnvironment roundEnv)
process
in interface Processor
process
in class AbstractProcessor
Copyright © 2020. All rights reserved.