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

Viacheslav Kabanovich (JIRA) issues at jboss.org
Tue Apr 7 14:01:18 EDT 2015


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

Viacheslav Kabanovich commented on JBIDE-19565:
-----------------------------------------------

We fixed file validation. Wizard has no validation for Target, it just does not suggest empty choice. Yes, let's add it. [~rawagner], [~akazakov], what should be the default suggestion, the same as now, or the empty choice?

> 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