[jbosstools-issues] [JBoss JIRA] Updated: (JBIDE-7630) Quickfix for "Stereotype annotation type must be annotated with one of @Target..." error marker

Daniel Azarov (JIRA) jira-events at lists.jboss.org
Thu Nov 18 07:48:07 EST 2010


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

Daniel Azarov updated JBIDE-7630:
---------------------------------

    Description: 
Quickfix for "Stereotype annotation type must be annotated with one of @Target('{'TYPE, METHOD, FIELD'}'), @Target('{'METHOD, FIELD'}'), @Target('{'TYPE'}'),  @Target('{'METHOD'}'),  @Target('{'FIELD'}') [JSR-299 §2.7.1]" error marker.

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

1. Add @Target({TYPE, METHOD, FIELD}) annotation
2. Add @Target({METHOD, FIELD}) annotation
3. Add @Target({TYPE}) annotation
4. Add @Target({METHOD}) annotation
5. Add @Target({FIELD}) annotation

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

1. Change current @Target annotation to @Target({TYPE, METHOD, FIELD}) annotation
2. Change current @Target annotation to @Target({METHOD, FIELD}) annotation
3. Change current @Target annotation to @Target({TYPE}) annotation
4. Change current @Target annotation to @Target({METHOD}) annotation
5. Change current @Target annotation to @Target({FIELD}) annotation


  was:
Quickfix for "Stereotype annotation type must be annotated with one of @Target('{'TYPE, METHOD, FIELD'}'), @Target('{'METHOD, FIELD'}'), @Target('{'TYPE'}'),  @Target('{'METHOD'}'),  @Target('{'FIELD'}') [JSR-299 §2.7.1]" error marker.

This quickfix should offer next:

1. Add @Target({TYPE, METHOD, FIELD}) annotation
2. Add @Target({METHOD, FIELD}) annotation
3. Add @Target({TYPE}) annotation
4. Add @Target({METHOD}) annotation
5. Add @Target({FIELD}) annotation



> Quickfix for "Stereotype annotation type must be annotated with one of @Target..." error marker
> -----------------------------------------------------------------------------------------------
>
>                 Key: JBIDE-7630
>                 URL: https://jira.jboss.org/browse/JBIDE-7630
>             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
>
>
> Quickfix for "Stereotype annotation type must be annotated with one of @Target('{'TYPE, METHOD, FIELD'}'), @Target('{'METHOD, FIELD'}'), @Target('{'TYPE'}'),  @Target('{'METHOD'}'),  @Target('{'FIELD'}') [JSR-299 §2.7.1]" error marker.
> If there is no @Target annotation this quickfix should offer next:
> 1. Add @Target({TYPE, METHOD, FIELD}) annotation
> 2. Add @Target({METHOD, FIELD}) annotation
> 3. Add @Target({TYPE}) annotation
> 4. Add @Target({METHOD}) annotation
> 5. Add @Target({FIELD}) annotation
> If current @Target annotation is not correct this quickfix should offer next:
> 1. Change current @Target annotation to @Target({TYPE, METHOD, FIELD}) annotation
> 2. Change current @Target annotation to @Target({METHOD, FIELD}) annotation
> 3. Change current @Target annotation to @Target({TYPE}) annotation
> 4. Change current @Target annotation to @Target({METHOD}) annotation
> 5. Change current @Target annotation to @Target({FIELD}) 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