Class ConfigDrivenProcessor
java.lang.Object
javax.annotation.processing.AbstractProcessor
io.helidon.inject.processor.InjectionAnnotationProcessor
io.helidon.inject.configdriven.processor.ConfigDrivenProcessor
- All Implemented Interfaces:
Processor
Annotation processor implementation to handle types annotated with
ConfigDriven
.-
Field Summary
Fields inherited from class javax.annotation.processing.AbstractProcessor
processingEnv
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected void
processExtensions
(ServicesToProcess services, TypeInfo service, Set<TypeName> serviceTypeNamesToCodeGenerate, Collection<TypedElementInfo> allElementsOfInterest) Process any extensions (e.g., config-driven) requiring extra processing or any modifications toServicesToProcess
.The annotation types we handle that will trigger activator creation.Methods inherited from class io.helidon.inject.processor.InjectionAnnotationProcessor
activatorCreator, doFiler, getSupportedAnnotationTypes, init, interceptAndValidate, process, process, processBasics, serviceDefiningAnnotations, supportedContractClassTargetAnnotations, supportedElementTargetAnnotations, validate
Methods inherited from class javax.annotation.processing.AbstractProcessor
getCompletions, getSupportedOptions, isInitialized
-
Constructor Details
-
ConfigDrivenProcessor
public ConfigDrivenProcessor()Required constructor for a service loaded viaServiceLoader
.
-
-
Method Details
-
supportedServiceClassTargetAnnotations
Description copied from class:InjectionAnnotationProcessor
The annotation types we handle that will trigger activator creation.- Overrides:
supportedServiceClassTargetAnnotations
in classInjectionAnnotationProcessor
- Returns:
- annotation types we handle on services
-
processExtensions
protected void processExtensions(ServicesToProcess services, TypeInfo service, Set<TypeName> serviceTypeNamesToCodeGenerate, Collection<TypedElementInfo> allElementsOfInterest) Description copied from class:InjectionAnnotationProcessor
Process any extensions (e.g., config-driven) requiring extra processing or any modifications toServicesToProcess
.- Overrides:
processExtensions
in classInjectionAnnotationProcessor
- Parameters:
services
- the services to process builderservice
- the service type info to process right nowserviceTypeNamesToCodeGenerate
- the entire set of types that are planned to be code-generatedallElementsOfInterest
- all of the elements of interest that injection "knows" about
-
getSupportedSourceVersion
- Specified by:
getSupportedSourceVersion
in interfaceProcessor
- Overrides:
getSupportedSourceVersion
in classAbstractProcessor
-