Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 369326

Summary: private inherited methods are not shown
Product: z_Archived Reporter: itay friedman <itay.f>
Component: PDTAssignee: PHP Core <php.core-inbox>
Status: CLOSED FIXED QA Contact:
Severity: normal    
Priority: P2 CC: silviya, zhaozhongwei
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Windows 7   
Whiteboard:
Attachments:
Description Flags
example test none

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