[jbosstools-issues] [JBoss JIRA] (JBIDE-19565) New Stereotype annotation wizard requires definition of @Target

Alexey Kazakov (JIRA) issues at jboss.org
Tue Apr 7 17:10:18 EDT 2015


    [ https://issues.jboss.org/browse/JBIDE-19565?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13056712#comment-13056712 ] 

Alexey Kazakov commented on JBIDE-19565:
----------------------------------------

The wizard won't have all possible combinations in "Target:". Let's just have the same list of the typical targets as we have now + an empty target:
- "Empty"
- Type, Method, Field (used by default)
- Method, Filed
- Type
- Method
- Field

If user want's to use "Type, Field" or something else which is not listed above then he/she has to add it manually in the source editor.

> New Stereotype annotation wizard requires definition of @Target
> ---------------------------------------------------------------
>
>                 Key: JBIDE-19565
>                 URL: https://issues.jboss.org/browse/JBIDE-19565
>             Project: Tools (JBoss Tools)
>          Issue Type: Bug
>          Components: cdi
>    Affects Versions: 4.3.0.Alpha1
>            Reporter: Rastislav Wagner
>            Assignee: Viacheslav Kabanovich
>             Fix For: 4.3.0.Alpha2
>
>
> New Stereotype annotation wizard requires to choose one of:
> TYPE, METHOD, FIELD 
> TYPE 
> METHOD
> FIELD
> METHOD, FIELD
> which is ok for CDI 1.0 but
> CDI 1.1+ isnt restricted to these target combinations and also it does not require to define target at all (see https://docs.jboss.org/cdi/spec/1.1/cdi-spec.html#defining_new_stereotype )



--
This message was sent by Atlassian JIRA
(v6.3.11#6341)


More information about the jbosstools-issues mailing list