Community
Participate
Working Groups
Using HEAD. Search for all types references using the string pattern "*" in JavaSearch dialog (select only Sources) with the simple following test case: Test.java import java.util.List; public class Test { List list; } Observe the match in import declaration: only 'java' is selected! I would expect to have all qualified name selected: 'java.util.List'
Problem is in MatchLocator.reportAccurateTypeReference(SearchMatch, ASTNode, char[]) method. It should not parse the reference when the name is null.
Created attachment 83558 [details] Proposed patch
Released for 3.4M4 in HEAD stream.
Verified for 3.4M4 using I20071211-0010