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

Quick fix for "Scope annotation type must be annotated with @Target('{'TYPE, METHOD, FIELD'}') [JSR-299 ยง2.4.2]" error marker

    XMLWordPrintable

Details

    • Sub-task
    • Resolution: Done
    • Major
    • 3.3.0.M3
    • None
    • cdi
    • None

    Description

      This quick fix should offer to add @Target(

      {TYPE, METHOD, FIELD}) annotation if there is no @Target annotation.
      Or offer to change current @Target annotation to @Target({TYPE, METHOD, FIELD}

      ) if current @Target annotation is incorrect.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: