weld/subsystem/src/main/java/org/jboss/as/weld/deployment/WeldDeployment.java
public synchronized BeanDeploymentArchive loadBeanDeploymentArchive(final Class<?> beanClass) {
        final BeanDeploymentArchive bda = this.getBeanDeploymentArchive(beanClass);
        if (bda != null) {
            return bda;
        }
        Module module = Module.forClass(beanClass);
        if (module == null) {
            // Bean class loaded by the bootstrap class loader
            if (bootstrapClassLoaderBeanDeploymentArchive == null) {
                bootstrapClassLoaderBeanDeploymentArchive = createAndRegisterAdditionalBeanDeploymentArchive(module, beanClass);
            } else {
                bootstrapClassLoaderBeanDeploymentArchive.addBeanClass(beanClass);
            }
            return bootstrapClassLoaderBeanDeploymentArchive;
        }
        /*
         * No, there is no BDA for the class yet. Let's create one.
         */
        return createAndRegisterAdditionalBeanDeploymentArchive(module, beanClass);
    }
public synchronized BeanDeploymentArchive loadBeanDeploymentArchive(final Class<?> beanClass) {
        final BeanDeploymentArchive bda = this.getBeanDeploymentArchive(beanClass);
        if (bda != null) {
            return bda;
        }
        Module module = Module.forClass(beanClass);
        if (module == null) {
            // Bean class loaded by the bootstrap class loader
            if (bootstrapClassLoaderBeanDeploymentArchive == null) {
                bootstrapClassLoaderBeanDeploymentArchive = createAndRegisterAdditionalBeanDeploymentArchive(module, beanClass);
            } else {
                bootstrapClassLoaderBeanDeploymentArchive.addBeanClass(beanClass);
            }
            return bootstrapClassLoaderBeanDeploymentArchive;
        }
        /*
         * No, there is no BDA for the class yet. Let's create one.
         */
        return createAndRegisterAdditionalBeanDeploymentArchive(module, beanClass);
    }
public synchronized BeanDeploymentArchive loadBeanDeploymentArchive ( final Class < ? > beanClass ) { final BeanDeploymentArchive bda = this . getBeanDeploymentArchive ( beanClass ) ; if ( bda != null ) { return bda ; } Module module = Module . forClass ( beanClass ) ; if ( module == null ) { // Bean class loaded by the bootstrap class loader if ( bootstrapClassLoaderBeanDeploymentArchive == null ) { bootstrapClassLoaderBeanDeploymentArchive = createAndRegisterAdditionalBeanDeploymentArchive ( module , beanClass ) ; } else { bootstrapClassLoaderBeanDeploymentArchive . addBeanClass ( beanClass ) ; } return bootstrapClassLoaderBeanDeploymentArchive ; } /*
         * No, there is no BDA for the class yet. Let's create one.
         */ return createAndRegisterAdditionalBeanDeploymentArchive ( module , beanClass ) ; }
{@inheritDoc}
{