class ProjectionService implements InitializingBean {

    void addProjectionInterfaces(String basePackage) throws MultipleDefaultProjectionsException, MultipleSimilarlyNamedProjectionsException {
        for(var annotatedInterface : getAnnotatedInterfaces(basePackage)) {
            var annotation = annotationUtilsWrapper.findAnnotation(annotatedInterface, NamedProjection.class);
            addProjectionInterface(annotation, annotatedInterface);
        }
    }

    @Autowired public  ProjectionService(AnnotatedTypeScanner typeScanner, AnnotationUtilsWrapper annotationUtilsWrapper);

}