[jbosstools-issues] [JBoss JIRA] (JBIDE-12413) Warn when a JAX-RS HTTP Method has no valid @Target and @Retention annotations aside of the @HttpMethod annotation

Xavier Coulon (JIRA) jira-events at lists.jboss.org
Thu Aug 9 11:22:07 EDT 2012


Xavier Coulon created JBIDE-12413:
-------------------------------------

             Summary: 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
             Fix For: 3.4.0.M1


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: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the jbosstools-issues mailing list