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

Alexey Kazakov (JIRA) jira-events at lists.jboss.org
Tue Dec 14 11:51:52 EST 2010


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