Bean<NamedFieldWithoutNamedValue> bean = defineManagedBean(NamedFieldWithoutNamedValue.class);
Field field = NamedFieldWithoutNamedValue.class.getDeclaredField("paymentProcessor");
AnnotatedElementFactory annotatedElementFactory = WebBeansContext.getInstance().getAnnotatedElementFactory();
AnnotatedType<NamedFieldWithNamedValue> annotatedType = (AnnotatedType<NamedFieldWithNamedValue>) annotatedElementFactory.getAnnotatedType(field.getDeclaringClass());
AnnotatedField<NamedFieldWithNamedValue> annotatedField = annotatedElementFactory.newAnnotatedField(field, annotatedType);
InjectionPoint point =
WebBeansContext.getInstance().getInjectionPointFactory().buildInjectionPoint(bean, annotatedField);
WebBeansUtil.checkInjectionPointNamedQualifier(point);