@ SuppressWarnings ( { "unchecked" , "unused" } ) @ Internal protected final Object getProxiedBean ( BeanContext beanContext ) { DefaultBeanContext defaultBeanContext = ( DefaultBeanContext ) beanContext ; Optional < String > qualifier = getAnnotationMetadata ( ) . getAnnotationNameByStereotype ( javax . inject . Qualifier . class ) ; return defaultBeanContext . getProxyTargetBean ( getBeanType ( ) , ( Qualifier < T > ) qualifier . map ( q -> Qualifiers . byAnnotation ( getAnnotationMetadata ( ) , q ) ) . orElse ( null ) ) ; }
Resolves the proxied bean instance for this bean .