mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-03 20:33:31 +07:00
GitOrigin-RevId: 7f72c5f68ab821e728eb0d5152f0910f48035046
13 lines
230 B
Java
13 lines
230 B
Java
// "Replace with lambda" "true-preview"
|
|
class Test {
|
|
interface InOut {
|
|
void run() throws IOException;
|
|
default void foo(){}
|
|
}
|
|
|
|
interface InOutEx extends InOut {
|
|
InOut bind() {
|
|
return () -> foo();
|
|
}
|
|
}
|
|
} |