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

Incorrect problem marker when refactoring a custom Qualifier

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Done
    • Icon: Major Major
    • 4.1.1.Alpha2
    • 4.1.0.Final
    • webservices
    • None

      When I refactor (rename or move in another package) a CDI Qualifier such as:

      @Retention(RUNTIME)
      @Target({TYPE, METHOD, FIELD, PARAMETER})
      @Qualifier
      public @interface ConsumerSessionQualifier {
      
      }
      

      I get error markers on the @Target annotation with the following message:

      @Target annotation value is not correct. It should be ElementType.METHOD

              manderse@redhat.com Max Andersen
              xcoulon@redhat.com Xavier Coulon
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: