Interface MethodHook

All Known Implementing Classes:
DependencyInjectionHook

public interface MethodHook
Method annotations hook for class scanning.

FOR INTERNAL USE ONLY. THE API CAN CHANGE AT ANY TIME.

  • Method Details

    • getMethodAnnotations

      Class<? extends Annotation>[] getMethodAnnotations()
      Get all annotations at the method level processed by this hook.
      Returns:
      Method annotations processed by this hook
    • processMethod

      void processMethod(Method method, Class<? extends Annotation> annotation, Annotation annotationInstance)
      Process the given method with the given annotation.
      Parameters:
      method - Method to be processed
      annotation - Annotation to be processed
      annotationInstance - Annotation instance to be processed