[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

Isaac Rooskov (JIRA) jira-events at lists.jboss.org
Sun Dec 2 20:42:22 EST 2012


     [ https://issues.jboss.org/browse/JBIDE-12413?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Isaac Rooskov updated JBIDE-12413:
----------------------------------

    Release Notes Docs Status: Documented as Feature Request
                       Writer: irooskov
           Release Notes Text: 
New annotation has been added that is necessary for a JAX-RS HTTP method to be valid:

@Target({ElementType.METHOD})
@Retention(RetentionPolicy.RUNTIME)

If there are any annotations missing, validation messages will appear at the @HttpMethod annotation level.


    
> 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


More information about the jbosstools-issues mailing list