private void findComponents(String rootPackage) { componentsClasses = ReflectionUtil.find( rootPackage, clazz -> hasAnnotation(clazz, Component.class) && !clazz.isAnnotation()); }
private void findConfigurationClasses(String rootPackage) { configurations = ReflectionUtil.find(rootPackage, clazz -> clazz.isAnnotationPresent(Configuration.class)); }