mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-17 15:50:53 +07:00
16 lines
264 B
Java
16 lines
264 B
Java
// "Replace with lambda" "true-preview"
|
|
class Test {
|
|
interface I {
|
|
|
|
}
|
|
interface Bar extends I {
|
|
int smth = 0;
|
|
int compare(String o1, String o2);
|
|
}
|
|
{
|
|
I bar2 = (Bar) (o1, o2) -> {
|
|
System.out.println(Bar.smth);
|
|
return 0;
|
|
};
|
|
}
|
|
} |