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

Annotation literals should not raise a warning

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Won't Fix
    • Affects Version/s: None
    • Fix Version/s: 4.1.0.Alpha2
    • Component/s: upstream
    • Labels:
      None
    • Workaround:
      Workaround Exists
    • Workaround Description:
      Hide

      You can disable it in Window->Preferences->Java->Compiler->Error/Warnings->Annotations->Annotation is used as super interface.

      Show
      You can disable it in Window->Preferences->Java->Compiler->Error/Warnings->Annotations->Annotation is used as super interface.

      Description

      The warning

      The annotation type Foo should not be used as a superinterface for FooLiteral 
      

      seems unnecessary, since the pattern of implementing an annotation type is shown as an example in the specification.
      Also, it makes the behaviour of JBoss Tools quite strange in that the code generated by the Annotation Literal Wizard raises a warning.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              akazakov Alexey Kazakov
              Reporter:
              rsmeral Ron Šmeral (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: