@ Override public < T > Producer < T > createProducer ( final Bean < X > declaringBean , final Bean < T > bean , DisposalMethod < X , T > disposalMethod ) { EnhancedAnnotatedField < T , X > enhancedField = getManager ( ) . getServices ( ) . get ( MemberTransformer . class ) . loadEnhancedMember ( field , getManager ( ) . getId ( ) ) ; return new ProducerFieldProducer < X , T > ( enhancedField , disposalMethod ) { @ Override public AnnotatedField < X > getAnnotated ( ) { return field ; } @ Override public BeanManagerImpl getBeanManager ( ) { return getManager ( ) ; } @ Override public Bean < X > getDeclaringBean ( ) { return declaringBean ; } @ Override public Bean < T > getBean ( ) { return bean ; } } ; }
Producers returned from this method are not validated . Internal use only .