Bug 226673

Summary: CompletionContext.getVisibleElements(..) doesn't find assignable fields
Product: [Eclipse Project] JDT Reporter: Martin Aeschlimann <martinae>
Component: CoreAssignee: David Audel <david_audel>
Status: VERIFIED FIXED QA Contact:
Severity: major    
Priority: P3 CC: daniel_megert, david_audel, eric_jodet
Version: 3.4   
Target Milestone: 3.4 M7   
Hardware: PC   
OS: Windows XP   
Whiteboard:
Bug Depends on:    
Bug Blocks: 226675    
Attachments:
Description Flags
Test case
none
Proposed fix none

Description Martin Aeschlimann CLA 2008-04-11 08:52:44 EDT
Created attachment 95666 [details]
Test case

20080408-0800

CompletionContext.getVisibleElements(..) doesn't seem to work yet for reference types: No assignable elements can be found. I get some results for primitive types.

See the attached test case.
Comment 1 David Audel CLA 2008-04-11 10:36:23 EDT
Created attachment 95689 [details]
Proposed fix
Comment 2 David Audel CLA 2008-04-14 06:56:19 EDT
Released for 3.4M7.

Tests added
  CompletionContextTests#testà162()
  CompletionContextTests_1_5#test0037() -> test039()

CompletionContext.getVisibleElements(..) didn't support signatures with '.' as package separator.
Comment 3 Eric Jodet CLA 2008-04-29 06:00:10 EDT
Verified for 3.4M7 using I20080427-2000.