containers = definition.target();
type = definition.type();
}
else
{
DefinitionByQualifier definition = componentType.getAnnotation(DefinitionByQualifier.class);
if (!definition.qualifier().equals(componentKey))
{
return false;
}
containers = definition.target();
type = definition.type();
}
if (!accepts(containers))
{
// The class of the current container is not part of the allowed classes.
return false;