Package com.google.auto.value.processor
Class AutoOneOfProcessor
- java.lang.Object
-
- javax.annotation.processing.AbstractProcessor
-
- com.google.auto.value.processor.AutoOneOfProcessor
-
- All Implemented Interfaces:
Processor
@AutoService(javax.annotation.processing.Processor.class) @SupportedAnnotationTypes("com.google.auto.value.AutoOneOf") @IncrementalAnnotationProcessor(ISOLATING) public class AutoOneOfProcessor extends AbstractProcessor
Javac annotation processor (compiler plugin) for one-of types; user code never references this class.- Author:
- Éamonn McManus
- See Also:
- AutoValue User's Guide
-
-
Field Summary
-
Fields inherited from class javax.annotation.processing.AbstractProcessor
processingEnv
-
-
Constructor Summary
Constructors Constructor Description AutoOneOfProcessor()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description com.google.common.collect.ImmutableSet<String>getSupportedOptions()SourceVersiongetSupportedSourceVersion()voidinit(ProcessingEnvironment processingEnv)booleanprocess(Set<? extends TypeElement> annotations, RoundEnvironment roundEnv)-
Methods inherited from class javax.annotation.processing.AbstractProcessor
getCompletions, getSupportedAnnotationTypes, isInitialized
-
-
-
-
Method Detail
-
getSupportedOptions
public com.google.common.collect.ImmutableSet<String> getSupportedOptions()
- Specified by:
getSupportedOptionsin interfaceProcessor- Overrides:
getSupportedOptionsin classAbstractProcessor
-
init
public void init(ProcessingEnvironment processingEnv)
- Specified by:
initin interfaceProcessor- Overrides:
initin classAbstractProcessor
-
getSupportedSourceVersion
public final SourceVersion getSupportedSourceVersion()
- Specified by:
getSupportedSourceVersionin interfaceProcessor- Overrides:
getSupportedSourceVersionin classAbstractProcessor
-
process
public final boolean process(Set<? extends TypeElement> annotations, RoundEnvironment roundEnv)
- Specified by:
processin interfaceProcessor- Specified by:
processin classAbstractProcessor
-
-