[jbosstools-issues] [JBoss JIRA] Resolved: (JBIDE-7899) New Stereotype Wizard should validate stereotypes which are going to be inherited.

Viacheslav Kabanovich (JIRA) jira-events at lists.jboss.org
Thu Dec 16 02:58:17 EST 2010


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

Viacheslav Kabanovich resolved JBIDE-7899.
------------------------------------------

    Resolution: Done


> New Stereotype Wizard should validate stereotypes which are going to be inherited.
> ----------------------------------------------------------------------------------
>
>                 Key: JBIDE-7899
>                 URL: https://issues.jboss.org/browse/JBIDE-7899
>             Project: Tools (JBoss Tools)
>          Issue Type: Bug
>          Components: cdi (jsr-299)
>            Reporter: Alexey Kazakov
>            Assignee: Viacheslav Kabanovich
>             Fix For: 3.2.0.CR1
>
>
> 2.7.1.5. Stereotypes with additional stereotypes.
> ...
> Stereotypes declared @Target(TYPE) may not be applied to stereotypes declared @Target({TYPE, METHOD, FIELD}),
> @Target(METHOD), @Target(FIELD) or @Target({METHOD, FIELD}).
> 1. Create a stereotype with @Target(TYPE): TypedStereotype
> 2. Open New Stereotype wizard
> 3. Select @Target(TYPE, METHOD, FIELD)
> 4. Add TypedSeterotype to stereotypes field.
> 5. There should be a warning that TypedSeterotype must not be applied to the stereotype since it declared @Target(TYPE).

-- 
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