Community
Participate
Working Groups
build I20080502-0100 1) create X.java public class X { void foo() { @A(n=) String s; } } 2) select 's' 3) search declaration of s (right click>Declarations>Project) There is no search result.
This problem is caused be the fact that code select doesn't do annotations recovery or statements recovery in the SelectionParser and search do annotations recovery and statements recovery in MatchLocatorParser. For select the variable doesn't contain the annotation unlike search. SelectionParser should support annotations recovery.
It is too risky to modify code select recovery for 3.4. Deferring to 3.5.
Created attachment 108164 [details] Proposed fix
Released fro 3.5M1. Tests added ResolveTests_1_5#test0117() -> test0118() Annotation recovery is enabled in SelectionParser
Verified for 3.5M1 using I20080805-1307