mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-18 00:20:54 +07:00
13 lines
223 B
Java
13 lines
223 B
Java
// "Replace with method reference" "true-preview"
|
|
class Test {
|
|
interface Bar {
|
|
int compare(String o1, String o2);
|
|
}
|
|
static int c(String o1, String o2) {
|
|
return 0;
|
|
}
|
|
|
|
{
|
|
Bar bar2 = Test::c;
|
|
}
|
|
} |