mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-18 00:20:54 +07:00
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();
|
|
}
|
|
}
|
|
} |