11 Replies Latest reply on Jan 5, 2010 2:11 PM by Nicklas Karlsson

    Qualifiers with Members

    John Ament Master

      I think I found a bug.


      In Section 4.4 of the docs


      The example shown is


      @Qualifier
      @Retention(RUNTIME)
      @Target({METHOD, FIELD, PARAMETER, TYPE})
      public @interface PayBy {
         PaymentMethod value();
      }



      This actually does not work.  In practice, it appears that the member has to be public.