blob: f0dffef5fb5a0a9089da55e0c7e5220b6d71a1ee [file] [log] [blame]
// "Replace with method reference" "true"
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;
}
}