Uploaded image for project: 'Tools (JBoss Tools)'
  1. Tools (JBoss Tools)
  2. JBIDE-11867

Tooling for CDI Event identifies invalid observer

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 3.3.0.CR1
    • 3.3.0.Beta2
    • cdi
    • None

      With the following event

      @Inject
      private Event<EventLog> eventLog;
      

      Tooling suggests that the following is a valid observer which it is not because it specifics an additional qualifier. Additionally it should show a warning that no observer exists to receive this event.

      public void log(@Observes @Now EventLog eventLog) {
      ...
      }
      

            scabanovich Viacheslav Kabanovich (Inactive)
            cody.lerum@gmail.com Cody Lerum
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: