mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-10 13:17:09 +07:00
introduce variable: suggest method reference expression (IDEA-102852)
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
class Foo {
|
||||
interface I {
|
||||
Integer[] _(int p);
|
||||
}
|
||||
void test() {
|
||||
I m = Integer[]::new;
|
||||
I i = m;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,8 @@
|
||||
class Foo {
|
||||
interface I {
|
||||
Integer[] _(int p);
|
||||
}
|
||||
void test() {
|
||||
I i = Integer[]:<caret>:new;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user