code: public static <X, T> ProducerMethod<X, T> of(BeanAttributes<T> attributes, EnhancedAnnotatedMethod<T, ? super X> method, AbstractClassBean<X> declaringBean, DisposalMethod<X, ?> disposalMethod, BeanManagerImpl beanManager, ServiceRegistry services) {
          return new ProducerMethod<X, T>(createId(attributes, method, declaringBean), attributes, method, declaringBean, disposalMethod, beanManager, services);
      }
docs: Creates a producer method Web Bean
  
  @param method        The underlying method abstraction
  @param declaringBean The declaring bean abstraction
  @param beanManager   the current manager
  @return A producer Web Bean