Package de.simonkerstan.ee.core.clazz
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 Summary
Modifier and TypeMethodDescriptionClass<? extends Annotation>[]Get all annotations at the method level processed by this hook.voidprocessMethod(Method method, Class<? extends Annotation> annotation, Annotation annotationInstance) Process the given method with the given annotation.
-
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 processedannotation- Annotation to be processedannotationInstance- Annotation instance to be processed
-