Details
-
Enhancement
-
Resolution: Done
-
Major
-
4.0.0.Alpha1
-
None
Description
If I have this annotation:
@HttpMethod(value = "METHOD") public @interface MyAnnot { }
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.
Attachments
Issue Links
- is related to
-
JBIDE-18256 Missing quickfixes for HttpMethod without Target and Retention annotations
- Closed