Uploaded image for project: 'Tools (JBoss Tools)'
  1. Tools (JBoss Tools)
  2. JBIDE-6644 Offer quick fixes for CDI validations
  3. JBIDE-7632

Quick fix for "Qualifier annotation type must be annotated with @Target..." error marker

    XMLWordPrintable

Details

    • Documentation (Ref Guide, User Guide, etc.)
    • Not Required

    Description

      Quick fix for "Qualifier annotation type must be annotated with @Target('

      {'TYPE, METHOD, FIELD, PARAMETER'}

      ') or @Target('

      {'FIELD, PARAMETER'}

      ') [JSR-299 §2.3.2, §10.1]" error marker.

      If there is no @Target annotation this quick fix should offer next:

      1. Add @Target(

      {TYPE, METHOD, FIELD, PARAMETER}) annotation
      2. Add @Target({FIELD, PARAMETER}) annotation

      If current @Target annotation is not correct this quick fix should offer next:

      1. Change current @Target to @Target({TYPE, METHOD, FIELD, PARAMETER}

      ) annotation
      2. Change current @Target to @Target(

      {FIELD, PARAMETER}

      ) annotation

      Attachments

        Activity

          People

            dazarov_jira Daniel Azarov (Inactive)
            dazarov_jira Daniel Azarov (Inactive)
            Isaac Rooskov Isaac Rooskov (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: