Class AutoOneOfProcessor
java.lang.Object
javax.annotation.processing.AbstractProcessor
com.google.auto.value.processor.AutoOneOfProcessor
- All Implemented Interfaces:
Processor
@AutoService(Processor.class)
@SupportedAnnotationTypes("com.google.auto.value.AutoOneOf")
@SupportedOptions("com.google.auto.value.OmitIdentifiers")
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:
-
Field Summary
Fields inherited from class AbstractProcessor
processingEnv -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal SourceVersionvoidinit(ProcessingEnvironment processingEnv) final booleanprocess(Set<? extends TypeElement> annotations, RoundEnvironment roundEnv) Methods inherited from class AbstractProcessor
getCompletions, getSupportedAnnotationTypes, getSupportedOptions, isInitialized
-
Constructor Details
-
AutoOneOfProcessor
public AutoOneOfProcessor()
-
-
Method Details
-
init
- Specified by:
initin interfaceProcessor- Overrides:
initin classAbstractProcessor
-
getSupportedSourceVersion
- Specified by:
getSupportedSourceVersionin interfaceProcessor- Overrides:
getSupportedSourceVersionin classAbstractProcessor
-
process
- Specified by:
processin interfaceProcessor- Specified by:
processin classAbstractProcessor
-