method chain completion: suggest chains for collection of elements

This commit is contained in:
Dmitry Batkovich
2017-04-20 18:46:21 +03:00
parent e3fbc7dd42
commit af57b8414a
6 changed files with 62 additions and 12 deletions
@@ -0,0 +1,23 @@
import java.util.*;
public class TestIndex {
public void statMethod(PsiClass c) {
c.getMethods();
c.getMethods();
c.getMethods();
c.getMethods();
c.getMethods();
c.getMethods();
c.getMethods();
c.getMethods();
}
}
class PsiMethod {
}
interface PsiClass {
Collection<PsiMethod> getMethods();
}