[
https://issues.jboss.org/browse/CDI-588?page=com.atlassian.jira.plugin.sy...
]
Antoine Sabot-Durand commented on CDI-588:
------------------------------------------
Well, {{javax.interceptor.Interceptor.Priority}} is not the annotation but the inner class
to {{@Interceptor}} containing constants for priority.
The annotation {{javax.annotation.Priority}} is part of JSR 250 (commons annotations).
Some of the annotations of this spec are present in SE put not {{@Priority}}. So yes,
we'd have to had this spec as dependency to CDI if we want this literal.
IMO I think it's not worth it for the moment.
Adding missing annotation Literals
----------------------------------
Key: CDI-588
URL:
https://issues.jboss.org/browse/CDI-588
Project: CDI Specification Issues
Issue Type: Feature Request
Reporter: Antoine Sabot-Durand
Assignee: Martin Kouba
We forgot literals for {{Inject}} and more questionably literals for:
* {{Observes}} and {{ObservesAsync}}
* {{Produces}} and {{Disposes}}
* {{Specializes}}
* {{TransientReference}}
* {{Vetoed}}
Most of these can be used to help defining a new AnnotatedType to be added to set of
discovered types.
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)