[jbosstools-issues] [JBoss JIRA] (JBIDE-12593) Improve quick fixes for @HttpMethod validation errors

Xavier Coulon (JIRA) jira-events at lists.jboss.org
Fri Oct 12 05:05:03 EDT 2012


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

Xavier Coulon resolved JBIDE-12593.
-----------------------------------

    Resolution: Done

    
> Improve quick fixes for @HttpMethod validation errors
> -----------------------------------------------------
>
>                 Key: JBIDE-12593
>                 URL: https://issues.jboss.org/browse/JBIDE-12593
>             Project: Tools (JBoss Tools)
>          Issue Type: Enhancement
>          Components: Webservices
>    Affects Versions: 4.0.0.Alpha1
>            Reporter: Jaroslav Jankovič
>            Assignee: Xavier Coulon
>             Fix For: 4.0.0.Beta1
>
>
> If I have this annotation:
> {code}
> @HttpMethod(value = "METHOD")
> public @interface MyAnnot {
> }
> {code}
> there are two errors in markers view:
> * The HTTP Method should have a @Retention(RetentionPolicy.RUNTIME) annotation on its type.
> * The HTTP Method should have a @Target(ElementType.METHOD) annotation on its type.
> For @Target marker there is quick fix providing adding @Target annotation into class. However there is no such quick fix for @Retention marker, only "Configure Problem Severity" is offered. There should be definitely similar quick fix as for @Target marker.

--
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