method chains completion

This commit is contained in:
Dmitry Batkovich
2013-07-12 12:48:39 +04:00
parent 147513c0e5
commit 56f3a39c69
120 changed files with 7207 additions and 3 deletions
@@ -0,0 +1,27 @@
import java.jang.String;
/**
* @author Dmitry Batkovich <dmitry.batkovich@jetbrains.com>
*/
class ElementFactory {
PsiClassType createType(PsiClass c, Object obj) {
return null;
}
PsiClassType createType(PsiClass c) {
return null;
}
}
class PsiClassType {}
class PsiClass {}
public class TestCompletion {
public void method(ElementFactory f) {
PsiClassType t = <caret>
}
}
@@ -0,0 +1,32 @@
import java.lang.Object;
/**
* @author Dmitry Batkovich <dmitry.batkovich@jetbrains.com>
*/
public class TestIndex {
public void statMethod(ElementFactory ef) {
ef.createType(null);
ef.createType(null);
ef.createType(null);
ef.createType(null);
ef.createType(null, null);
ef.createType(null, null);
ef.createType(null, null);
ef.createType(null, null);
}
}
class ElementFactory {
PsiClassType createType(PsiClass c, Object obj) {
return null;
}
PsiClassType createType(PsiClass c) {
return null;
}
}
class PsiClassType {}
class PsiClass {}