1 Reply Latest reply on Aug 4, 2010 12:37 PM by Pete Muir

    Don't silently ignore botched code

    Alen Vrečko Newbie

      Hi,


      imho it would be a good idea to report an error or at least issue a warning


      o) if there is @Qualifer annotation without @Retention(RUNTIME).
      o) if there is only one constructor and is missing @Inject
      o) if there is @InterceptorBinding without @Retention(RUNTIME) or @Target({METHOD, TYPE})


      The more errors Weld finds the better.


      Cheers
      Alen