2 Replies Latest reply on Apr 25, 2019 4:01 AM by manovotn

    Is it an oversight that ObserverMethod doesn't have getInjectionPoints()?


      I naïvely assumed that once I got ahold of an ObserverMethod I could find out what injection points it has.


      I know that I can get the AnnotatedMethod, go through the AnnotatedParameters and weed out the one that is the event parameter.  But that seems quite clumsy.  I was assuming that much like a Producer an ObserverMethod would have a set of InjectionPoints representing its parameters.  I seem to recall the specification even talks about the parameters being injection points.


      Mainly just because I'm curious, was there a design decision to leave this method off?  Or was it just an oversight?