[
https://issues.jboss.org/browse/JBIDE-12413?page=com.atlassian.jira.plugi...
]
Jaroslav Jankovič closed JBIDE-12413.
-------------------------------------
Verified in jbdevstudio-product-universal-6.0.0.Alpha1-v20120908-0346-H22.jar. New feature
is implemented, but I logged a JIRA (JBIDE-12593) for improving this feature.
Warn when a JAX-RS HTTP Method has no valid @Target and @Retention
annotations aside of the @HttpMethod annotation
-------------------------------------------------------------------------------------------------------------------
Key: JBIDE-12413
URL:
https://issues.jboss.org/browse/JBIDE-12413
Project: Tools (JBoss Tools)
Issue Type: Feature Request
Components: Webservices
Affects Versions: 3.3.0.Final
Reporter: Xavier Coulon
Assignee: Xavier Coulon
Labels: new_and_noteworthy
Fix For: 4.0.0.Alpha1
To be valid and usable, a JAX-RS HTTP Method should also be annotated with
{code}
@Target({ElementType.METHOD})
@Retention(RetentionPolicy.RUNTIME)
{code}
In case of missing annotations, the validation messages should be put at the @HttpMethod
annotation level.
A quickFix should be provided, too.
--
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