mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-08-26 15:27:45 +07:00
method ref completion: complete receiver typed method ref without param in valid lambda context (IDEA-140730)
This commit is contained in:
+13
@@ -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();
|
||||
}
|
||||
Reference in New Issue
Block a user