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