Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 369326 - private inherited methods are not shown
Summary: private inherited methods are not shown
Status: CLOSED FIXED
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: PDT (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows 7
: P2 normal (vote)
Target Milestone: ---   Edit
Assignee: PHP Core CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-01-22 07:06 EST by itay friedman CLA
Modified: 2020-05-14 11:09 EDT (History)
2 users (show)

See Also:


Attachments
example test (731 bytes, application/octet-stream)
2012-01-22 07:07 EST, itay friedman CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description itay friedman CLA 2012-01-22 07:06:30 EST
private methods of traits used by other traits/classes aren't shown in code assist.
example test is attached and produces:

junit.framework.AssertionFailedError: 
EXPECTED COMPLETIONS LIST:
-----------------------------
method(publicA)
method(protectedA)
method(privateA)
method(publicC)
method(protectedC)
method(privateC)

ACTUAL COMPLETIONS LIST:
-----------------------------
method(publicC)
method(publicA)
method(protectedC)
method(protectedA)
method(privateC)

notice that privateA is missing from actual. same goes for a class using a trait.
Comment 1 itay friedman CLA 2012-01-22 07:07:20 EST
Created attachment 209880 [details]
example test
Comment 2 itay friedman CLA 2012-01-22 07:13:31 EST
this is also the case for private fields, and not just methods
Comment 3 Zhongwei Zhao CLA 2012-05-14 02:54:06 EDT
fixed
Comment 4 Sylvia Tancheva CLA 2012-07-05 06:50:57 EDT
Verified. Closing
Ilina Stefanova