method ref completion: complete receiver typed method ref without param in valid lambda context (IDEA-140730)

This commit is contained in:
Anna Kozlova
2015-05-28 19:42:08 +02:00
parent 3b59425c3d
commit 5ffbec6759
6 changed files with 94 additions and 17 deletions
@@ -0,0 +1,13 @@
import java.util.List;
class MyTest {
void m(List<Person> l) {
l.stream().map(Person::getName)
}
}
interface Person {
String getName();
}
@@ -0,0 +1,13 @@
import java.util.List;
class MyTest {
void m(List<Person> l) {
l.stream().map(<caret>)
}
}
interface Person {
String getName();
}