Uploaded image for project: 'Tools (JBoss Tools)'
  1. Tools (JBoss Tools)
  2. JBIDE-7899

New Stereotype Wizard should validate stereotypes which are going to be inherited.

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • 3.2.0.CR1
    • None
    • cdi
    • None

    Description

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

      Attachments

        Issue Links

          Activity

            People

              scabanovich Viacheslav Kabanovich (Inactive)
              alexeykazakov Alexey Kazakov
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: