When autocompleting method calls in Eclipse, is it possible to filter the list of suggestions on these 开发者_如何学编程criteria :
- return type
- class implementing the method
i.e. when I type myArrayList.
I would like to find methods returning boolean
which are inherited from AbstractCollection
?
If you create a local variable and attempt to assign to it, Eclipse puts the matching return types first in the autocomplete list, e.g.
AbstractCollection obj;
boolean temp = obj.<autocomplete list>
If you declare obj as AbstractCollection, you won't see any other methods.
精彩评论