Summary: | [search] SearchEngine#searchAllTypeNames(.., TypeNameMatchRequestor,..) should report access rules | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Product: | [Eclipse Project] JDT | Reporter: | Markus Keller <markus.kell.r> | ||||||||
Component: | Core | Assignee: | Frederic Fusier <frederic_fusier> | ||||||||
Status: | VERIFIED FIXED | QA Contact: | |||||||||
Severity: | enhancement | ||||||||||
Priority: | P3 | CC: | Olivier_Thomann, satyam.kandula | ||||||||
Version: | 3.6 | ||||||||||
Target Milestone: | 3.6 M4 | ||||||||||
Hardware: | PC | ||||||||||
OS: | Windows XP | ||||||||||
Whiteboard: | |||||||||||
Bug Depends on: | |||||||||||
Bug Blocks: | 218487 | ||||||||||
Attachments: |
|
Description
Markus Keller
2009-11-26 13:32:10 EST
Created attachment 153231 [details]
Proposed patch
Implementation copied from CompletionProposal and InternalCompletionProposal. Note that the accessibility setter needs to be public in this case as the TypeNameMatchRequestorWrapper does not inherit from TypeNameMatchRequestor...
Comment on attachment 153231 [details] Proposed patch > TypeNameMatchRequestor#getAccessibility() Oops, sorry, that was a Copy/Paste error. I actually meant TypeNameMatch#getAccessibility(). The TypeNameMatchRequestor should not be touched. Created attachment 153444 [details]
New proposed patch
(In reply to comment #3) Looks good. TypeNameMatch#getAccessibility() could also be abstract since its default value is never used (and clients must not subclass). Created attachment 153806 [details]
Last proposed patch
I've set the getAccessibility() method abstract on TypeNameMatch and also replaced the 'This class is not intended to be overridden by clients.' comment by the @noextend javadoc tag on this class...
Released for 3.6M4 in HEAD stream. Verified for 3.6M4 using Build id: I20091207-1800 Verified. |