Interface AnnotationProcessor<A extends java.lang.annotation.Annotation,​T>

  • Type Parameters:
    A - An annotation type
    T - 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 Detail

      • process

        void process​(BeanDefinition<?> beanDefinition,
                     T object)
        The process method will be called for every ExecutableMethod that is annotated with the type parameter A.
        Parameters:
        beanDefinition - The bean definition
        object - The object to be processed