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

Rastislav Wagner (JIRA) issues at jboss.org
Wed Apr 8 03:15:21 EDT 2015


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

Rastislav Wagner commented on JBIDE-19565:
------------------------------------------

{code}
@Target({TYPE, METHOD, FIELD})
{code}
+1 for using this as default

> 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