[jbosstools-issues] [JBoss JIRA] Updated: (JBIDE-7632) Quick fix for "Qualifier annotation type must be annotated with @Target..." error marker

Daniel Azarov (JIRA) jira-events at lists.jboss.org
Tue Jul 19 19:38:23 EDT 2011


     [ https://issues.jboss.org/browse/JBIDE-7632?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Daniel Azarov updated JBIDE-7632:
---------------------------------

    Attachment: AddTargetQuickFixOnQualifier.png
                ChangeTargetQuickFixOnQualifier.png


> Quick fix for "Qualifier annotation type must be annotated with @Target..." error marker
> ----------------------------------------------------------------------------------------
>
>                 Key: JBIDE-7632
>                 URL: https://issues.jboss.org/browse/JBIDE-7632
>             Project: Tools (JBoss Tools)
>          Issue Type: Sub-task
>          Components: cdi (jsr-299)
>            Reporter: Daniel Azarov
>            Assignee: Daniel Azarov
>              Labels: new_and_noteworthy
>             Fix For: 3.3.x
>
>         Attachments: AddTargetQuickFixOnQualifier.png, ChangeTargetQuickFixOnQualifier.png
>
>
> 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

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

       



More information about the jbosstools-issues mailing list