阅读背景:

如何在项目中搜索返回Collection接口实现的所有方法?

来源:互联网 

I've been reading Josh Bloch's 'Effective Java 2nd Edition'. Item 43 states 'Return empty arrays or collections, not nulls'. My question is how can I search for all methods in a project that return an implementation of java.util.Collection interface? IDE that is used is Eclipse, but any way of finding the right result is acceptable, e.g. regex or some other IDE.I've been reading Josh Bloch's 'Effective Java




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: