mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-25 02:21:17 +07:00
14 lines
254 B
Java
14 lines
254 B
Java
// "Replace with method reference" "true-preview"
|
|
class Test {
|
|
interface I {}
|
|
interface Bar extends I {
|
|
int compare(String o1, String o2);
|
|
}
|
|
static int c(String o1, String o2) {
|
|
return 0;
|
|
}
|
|
|
|
{
|
|
I bar2 = (Bar) Test::c;
|
|
}
|
|
} |