Summary: | code assist allows overriding super class' private method | ||
---|---|---|---|
Product: | [Eclipse Project] JDT | Reporter: | Rafael Chaves <eclipse> |
Component: | Core | Assignee: | David Audel <david_audel> |
Status: | VERIFIED FIXED | QA Contact: | |
Severity: | normal | ||
Priority: | P3 | ||
Version: | 3.1 | ||
Target Milestone: | 3.1 M7 | ||
Hardware: | PC | ||
OS: | Windows XP | ||
Whiteboard: |
Description
Rafael Chaves
2004-12-02 17:09:46 EST
The proposals are generated by JDT/Core. private methods are only proposed if the option "Preferences>Java>Editor>Sorting and filtering>Show only proposals visible in the invocation context" is unchecked. Yeah, I have it unchecked. I can see the usefulness of proposing private methods to callers, because an error marker will be added and the user can then use quick fix to easily change the member visibility. I have used this feature myself. But when overriding methods, I think it is misleading (besides being plain useless). Fixed and test added CompletionTests#testCompletionMethodDeclaration11() Verified in I20050510-0010 + JDT/Core v_556 |