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

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

      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.

        1. AddTargetQuickFixOnScope.png
          35 kB
          Daniel Azarov
        2. ChangeTargetQuickFixOnScope.png
          24 kB
          Daniel Azarov

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

                Created:
                Updated:
                Resolved: