final Map<ResourceRoot, BeanDeploymentArchiveImpl> bdaMap = new HashMap<ResourceRoot, BeanDeploymentArchiveImpl>(); final Components components = new Components(deploymentUnit, indexes);
Set<String> allKnownClasses = getAllKnownClasses(index); if (beans.isEmpty() && !components.hasBeanComponents(resourceRoot)) { return null;