mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-08-26 15:27:45 +07:00
method reference: enable constructor refs completion (IDEA-124541)
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
@FunctionalInterface
|
||||
interface Foo9 {
|
||||
Bar test(int p);
|
||||
}
|
||||
|
||||
class Bar {
|
||||
public Bar(int p) {}
|
||||
}
|
||||
|
||||
class Test88 {
|
||||
void foo(Foo9 foo) {
|
||||
foo(Bar::new<caret>);
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,14 @@
|
||||
@FunctionalInterface
|
||||
interface Foo9 {
|
||||
Bar test(int p);
|
||||
}
|
||||
|
||||
class Bar {
|
||||
public Bar(int p) {}
|
||||
}
|
||||
|
||||
class Test88 {
|
||||
void foo(Foo9 foo) {
|
||||
foo(Bar::<caret>);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user