method references: smart completion to filter by return type

This commit is contained in:
Anna Kozlova
2013-12-12 17:24:48 +04:00
parent df47230afe
commit 140b91e13a
6 changed files with 103 additions and 1 deletions
@@ -0,0 +1,13 @@
class Test {
interface I {
int foo();
}
static int aa() {
return 0;
}
{
I i = Test::aa
}
}
@@ -0,0 +1,13 @@
class Test {
interface I {
int foo();
}
static int aa() {
return 0;
}
{
I i = Test::<caret>
}
}
@@ -4,6 +4,6 @@ class Test {
}
{
I i = Test::<caret>
I i = Unknown::<caret>
}
}