当前位置: 动力学知识库 > 问答 > 编程问答 >

java - I am not getting code assist for a particular type of object in Eclipse

问题描述:

I have class in one package. and I am creating an instance of this class in another class which is in different package. When i want to use any methods on this object, i can use ctrl+space for code assist which shows all reachable methods which i can use. But in this case it is not showing any, even public setters and getters. So wanted to know am I missing something.

Thanks

网友答案:

You may need to add the package to your build path. Look here: http://www.informit.com/articles/article.aspx?p=367962

分享给朋友:
您可能感兴趣的文章:
随机阅读: