public static InjectionPoint getXMLInjectionPointData(Bean<?> owner, XMLInjectionPointModel xmlInjectionModel)
{
Asserts.assertNotNull(owner, "owner parameter can not be null");
Asserts.assertNotNull(xmlInjectionModel, "xmlInjectionModel parameter can not be null");
InjectionPoint injectionPoint = null;
Set<Annotation> setAnns = xmlInjectionModel.getAnnotations();
Annotation[] anns = new Annotation[setAnns.size()];
anns = setAnns.toArray(anns);