mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-18 09:34:34 +07:00
IDEA-154276 Suggest method references to constructors of implementing classes when Supplier<AnAbstractClass> is expected
This commit is contained in:
+7
@@ -0,0 +1,7 @@
|
||||
import foo.ImplBar;
|
||||
|
||||
class Test {
|
||||
void foo() {
|
||||
java.util.function.Supplier<intf.Intf<String>> s = ImplBar::new;<caret>
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,5 @@
|
||||
class Test {
|
||||
void foo() {
|
||||
java.util.function.Supplier<intf.Intf<String>> s = <caret>
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user