ENYO-1032 : Auto-completion should propose only public members when editing in a kind A some code referring to another kind.

- add conditions for checking the function (public/private)

Enyo-DCO-1.1-Signed-off-by: Kiwook Shim <kiwook.shim@lge.com>