Community
Participate
Working Groups
Against I20050509-2010.from20050511_1145 public @interface SetUp { String value(); } @SetUp("howdy") class MyClass { } Highlight the declaration of SetUp, and from the context menu, choose "References > Workspace". The search will declare that there are no references.
This also affected refactoring (e.g. renaming of annotations).
I've reopened bug 86380 as it failed our tests...
*** This bug has been marked as a duplicate of 86380 ***
Reopen it is in fact more a side effect of fix for bug 83012...
Fixed. Remove consumeAnnotationModifier() in SourceElementParser was a really bad thing to do and existing tests for Annotation references unfortunately missed this (simple) case... => put back + modify index ID [jdt-core-internal] Changes done in: 1) put back SourceElementParser.consumeAnnotationModifiers method 2) DiskIndex: increase index SIGNATURE Test case added in JavaSearchBugsTests
Verified for 3.1 M7 using build I20050509-2010 + jdt.core HEAD-20050512.