Uploaded image for project: 'Tools (JBoss Tools)'
  1. Tools (JBoss Tools)
  2. JBIDE-18257

Missing quickfix for NameBinding without Target and Retention annotations

    Details

    • Steps to Reproduce:
      Hide

      STEP: Create Dynamic Web Project with JAX-RS Support
      STEP: Create Authorized annotation

      import javax.ws.rs.NameBinding;
      
      @NameBinding
      public @interface Authorized {
      
      }
      

      ASSERT: There are 2 errors:

      The Name Binding should have a @Retention(RetentionPolicy.RUNTIME) annotation on its type.
      
      The Name Binding should have a @Target(ElementType.METHOD) annotation on its type.
      

      STEP: Use quick fixes to solve these problems
      FAIL: Quick fixes are missing

      Show
      STEP: Create Dynamic Web Project with JAX-RS Support STEP: Create Authorized annotation import javax.ws.rs.NameBinding; @NameBinding public @ interface Authorized { } ASSERT: There are 2 errors: The Name Binding should have a @Retention(RetentionPolicy.RUNTIME) annotation on its type. The Name Binding should have a @Target(ElementType.METHOD) annotation on its type. STEP: Use quick fixes to solve these problems FAIL: Quick fixes are missing

      Gliffy Diagrams

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                maxandersen Max Andersen
                Reporter:
                rrabara Radoslav RĂ¡bara
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: