[jbosstools-issues] [JBoss JIRA] (JBIDE-12593) Improve quick fixes for @HttpMethod validation errors
Jaroslav Jankovič (JIRA)
jira-events at lists.jboss.org
Wed Sep 12 02:27:32 EDT 2012
Jaroslav Jankovič created JBIDE-12593:
-----------------------------------------
Summary: 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.Alpha1
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