Summary: | Content Assist overrides wrong method | ||
---|---|---|---|
Product: | [Eclipse Project] JDT | Reporter: | Markus Keller <markus.kell.r> |
Component: | Core | Assignee: | David Audel <david_audel> |
Status: | VERIFIED FIXED | QA Contact: | |
Severity: | normal | ||
Priority: | P3 | CC: | eclipse, tobias_widmer |
Version: | 3.1 | ||
Target Milestone: | 3.1 M7 | ||
Hardware: | PC | ||
OS: | Windows XP | ||
Whiteboard: |
Description
Markus Keller
2005-04-27 14:57:08 EDT
Tom, please investigate. The problem is twofold: - the override proposal for the final method 'getCount' should not be proposed in the first place. - OverrideCompletionProposal.updateReplacementString detects that there are no valid override candidates, but simply chooses an arbitrary overridable candidate that does not match the proposal (finalize in this case). Moving to core for the first problem. Adding Tobias for the second. Perhaps it should be interesting to open a separated bug for JDT/UI issue. This would clarify things to know when these 2 different issues were fixed... Fixed first problem and test added CompletionTests#testCompletionMethodDeclaration12() Verified in I20050510-0010 + JDT/Core v_556 |