method chain search use PsiType-s instead of raw strings

This commit is contained in:
Dmitry Batkovich
2017-04-03 16:07:09 +03:00
parent 3c04fad90d
commit 91fa3f1dbe
8 changed files with 48 additions and 44 deletions
@@ -9,7 +9,7 @@ interface PsiClass {}
public class TestCompletion {
public void method() {
PsiMethod psiMethod = <caret><selection>null</selection>;
PsiClass c = psiMethod.getContainingClass()
PsiMember psiMember = null;
PsiClass c = psiMember.getContainingClass()
}
}