You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@netbeans.apache.org by "Łukasz Stosik (JIRA)" <ji...@apache.org> on 2018/09/04 23:31:00 UTC
[jira] [Created] (NETBEANS-1214) AnnotationAsSuperInterface hint
should ignore AnnotationLiteral
Ł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: commits-unsubscribe@netbeans.apache.org
For additional commands, e-mail: commits-help@netbeans.apache.org
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists