[
https://issues.jboss.org/browse/JBIDE-13793?page=com.atlassian.jira.plugi...
]
Alexey Kazakov commented on JBIDE-13793:
----------------------------------------
This warning is raised by Eclipse JDT (Java validation).
You can disable it in
Window->Preferences->Java->Compiler->Error/Warnings->Annotations->Annotation
is used as super interface.
Annotation literals should not raise a warning
----------------------------------------------
Key: JBIDE-13793
URL:
https://issues.jboss.org/browse/JBIDE-13793
Project: Tools (JBoss Tools)
Issue Type: Bug
Components: UpStream
Reporter: Ron Šmeral
Assignee: Alexey Kazakov
The warning
{noformat}
The annotation type Foo should not be used as a superinterface for FooLiteral
{noformat}
seems unnecessary, since the pattern of implementing an annotation type is shown as an
example in the
[
specification|http://docs.jboss.org/cdi/api/1.0/javax/enterprise/util/Ann...].
Also, it makes the behaviour of JBoss Tools quite strange in that the code generated by
the Annotation Literal Wizard raises a warning.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see:
http://www.atlassian.com/software/jira