Description
2.7.1.5. Stereotypes with additional stereotypes.
...
Stereotypes declared @Target(TYPE) may not be applied to stereotypes declared @Target(
),
@Target(METHOD), @Target(FIELD) or @Target(
).
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
- relates to
-
JBIDE-7897 Stereotypes declared @Target(TYPE) may not be applied to stereotypes declared @Target({TYPE, METHOD, FIELD}), @Target(METHOD), @Target(FIELD) or @Target({METHOD, FIELD}).
- Closed