code: <T> void findFlowDefinition(@Observes ProcessProducer<T, Flow> processProducer)
      {
          if (processProducer.getAnnotatedMember().isAnnotationPresent(FlowDefinition.class))
          {
              flowProducers.add(processProducer.getProducer());
          }
      }
docs: Stores any producer method that is annotated with @FlowDefinition.