Łukasz Stosik created NETBEANS-1214:
---------------------------------------
Summary: AnnotationAsSuperInterface hint should ignore
AnnotationLiteral
Key: NETBEANS-1214
URL: https://issues.apache.org/jira/browse/NETBEANS-1214
Project: NetBeans
Issue Type: Improvement
Components: java - Hints
Affects Versions: 8.2, 9.0
Reporter: Łukasz Stosik
Assignee: Łukasz Stosik
Currently hint warns("Annotations should not be used as superinterfaces") about
valid code that uses javax.enterprise.util.AnnotationLiteral like:
{code:java}
public @interface MyAnnontation {
}
class MyAnnontationLiteral extends AnnotationLiteral<MyAnnontation> implements
MyAnnontation {
}
{code}
Hint should ignore classes that are extending AnnotationLiteral.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists