Interface MethodAnnotationMatchProcessor

  • Functional Interface:
    This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

    @FunctionalInterface
    public interface MethodAnnotationMatchProcessor
    The method to run when a class that has a method or constructor with a specified annotation is found on the classpath.
    • Method Detail

      • processMatch

        void processMatch​(Class<?> matchingClass,
                          Executable matchingMethodOrConstructor)
        Process a method annotation match.
        Parameters:
        matchingClass - the matching class.
        matchingMethodOrConstructor - the Method or Constructor that has the annotation. (Executable is the superclass of both Method and Constructor.)