A
- An annotation typeT
- A typepublic interface AnnotationProcessor<A extends 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
ExecutableMethodProcessor
Modifier and Type | Method and Description |
---|---|
void |
process(BeanDefinition<?> beanDefinition,
T object)
The process method will be called for every
ExecutableMethod that is annotated with
the type parameter A. |
void process(BeanDefinition<?> beanDefinition, T object)
ExecutableMethod
that is annotated with
the type parameter A.beanDefinition
- The bean definitionobject
- The object to be processed