Package de.simonkerstan.ee.core.clazz
Interface ConstructorHook
- All Known Implementing Classes:
DependencyInjectionHook
public interface ConstructorHook
Constructor 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 constructor level processed by this hook.voidprocessConstructor(Constructor<?> constructor, Class<? extends Annotation> annotation, Annotation annotationInstance) Process the given constructor with the given annotation.
-
Method Details
-
getConstructorAnnotations
Class<? extends Annotation>[] getConstructorAnnotations()Get all annotations at the constructor level processed by this hook.- Returns:
- Constructor annotations processed by this hook
-
processConstructor
void processConstructor(Constructor<?> constructor, Class<? extends Annotation> annotation, Annotation annotationInstance) Process the given constructor with the given annotation.- Parameters:
constructor- Constructor to be processedannotation- Annotation to be processedannotationInstance- Annotation instance to be processed
-