Package io.micronaut.context.processor
Interface AnnotationProcessor<A extends java.lang.annotation.Annotation,T>
-
- Type Parameters:
A
- An annotation typeT
- A type
- All Known Subinterfaces:
BeanDefinitionProcessor<A>
,ExecutableMethodProcessor<A>
public interface AnnotationProcessor<A extends java.lang.annotation.Annotation,T>
An annotation processor is an object that processes the presence if a given annotation.
The
process(BeanDefinition, Object)
method returns void since a processor is not able to mutate the object itself or return an alternative instance, instead the design of a processor is to react to the rep- Since:
- 1.0
- See Also:
ExecutableMethodProcessor
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
process(BeanDefinition<?> beanDefinition, T object)
The process method will be called for everyExecutableMethod
that is annotated with the type parameter A.
-
-
-
Method Detail
-
process
void process(BeanDefinition<?> beanDefinition, T object)
The process method will be called for everyExecutableMethod
that is annotated with the type parameter A.- Parameters:
beanDefinition
- The bean definitionobject
- The object to be processed
-
-