mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-10 13:17:09 +07:00
accept inline on method reference (IDEA-102845)
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
class Foo {
|
||||
interface Jjj {
|
||||
int[] jjj(int p);
|
||||
}
|
||||
void useJjj(Jjj p) {
|
||||
p.jjj(9);
|
||||
}
|
||||
void test() {
|
||||
use<caret>Jjj(int[]::new);
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,11 @@
|
||||
class Foo {
|
||||
interface Jjj {
|
||||
int[] jjj(int p);
|
||||
}
|
||||
void useJjj(Jjj p) {
|
||||
p.jjj(9);
|
||||
}
|
||||
void test() {
|
||||
((Jjj) int[]::new).jjj(9);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user