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