private Set<Bean<?>> resolveBeans()
{
Annotation[] anns = new Annotation[qualifierAnnotations.size()];
anns = qualifierAnnotations.toArray(anns);
InjectionResolver injectionResolver = webBeansContext.getBeanManagerImpl().getInjectionResolver();
InjectionResolver resolver = injectionResolver;
Bean<?> injectionPointBean = injectionPoint.getBean();
Class<?> injectionPointClass = null;
if (injectionPointBean != null)
{
injectionPointClass = injectionPointBean.getBeanClass();
}
Set<Bean<?>> beans = resolver.implResolveByType(injectionClazz, injectionPointClass, anns);
return resolver.resolveAll(beans);
}