Module io.helidon.pico.processor
Package io.helidon.pico.processor
Class PostConstructPreDestroyAnnotationProcessor
java.lang.Object
javax.annotation.processing.AbstractProcessor
io.helidon.pico.processor.PostConstructPreDestroyAnnotationProcessor
Handling for
PostConstruct and PreDestroy.-
Field Summary
Fields inherited from class javax.annotation.processing.AbstractProcessor
processingEnv -
Constructor Summary
ConstructorsConstructorDescriptionDeprecated.this is a Java ServiceLoader implementation and the constructor should not be used directly -
Method Summary
Modifier and TypeMethodDescriptionThe annotation types we handle.If these annotation type names are found on the target then do not process.voidLog a debug message.voidLog a debug message.voidLog an error message.voidinit(ProcessingEnvironment processingEnv) voidLog an info message.booleanprocess(Set<? extends TypeElement> annotations, RoundEnvironment roundEnv) protected voidprocessServiceType(TypeName serviceTypeName, TypeElement type) Called to process the service type definition to add the basic service info constructs.voidLog a warning.voidLog a warning message.Methods inherited from class javax.annotation.processing.AbstractProcessor
getCompletions, getSupportedOptions, isInitialized
-
Constructor Details
-
PostConstructPreDestroyAnnotationProcessor
Deprecated.this is a Java ServiceLoader implementation and the constructor should not be used directlyService loader based constructor.
-
-
Method Details
-
annoTypes
The annotation types we handle.- Returns:
- annotation types we handle
-
contraAnnotations
If these annotation type names are found on the target then do not process.- Returns:
- the set of annotation type names that should result in skipped processing for this processor type
-
init
- Specified by:
initin interfaceProcessor- Overrides:
initin classAbstractProcessor
-
getSupportedSourceVersion
- Specified by:
getSupportedSourceVersionin interfaceProcessor- Overrides:
getSupportedSourceVersionin classAbstractProcessor
-
getSupportedAnnotationTypes
- Specified by:
getSupportedAnnotationTypesin interfaceProcessor- Overrides:
getSupportedAnnotationTypesin classAbstractProcessor
-
process
- Specified by:
processin interfaceProcessor- Specified by:
processin classAbstractProcessor
-
debug
Description copied from interface:MessagerLog a debug message. -
debug
Description copied from interface:MessagerLog a debug message. -
log
Description copied from interface:MessagerLog an info message. -
warn
Description copied from interface:MessagerLog a warning message. -
warn
Description copied from interface:MessagerLog a warning. -
error
Description copied from interface:MessagerLog an error message. -
processServiceType
Called to process the service type definition to add the basic service info constructs.- Parameters:
serviceTypeName- the service type nametype- the type element
-