mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-20 03:20:56 +07:00
16 lines
282 B
Java
16 lines
282 B
Java
// "Replace with lambda" "true-preview"
|
|
class Test {
|
|
interface InOut {
|
|
void run() throws IOException;
|
|
static void foo(){}
|
|
}
|
|
|
|
InOut bind() {
|
|
return new In<caret>Out() {
|
|
@Override
|
|
public void run() throws IOException {
|
|
foo();
|
|
}
|
|
};
|
|
}
|
|
} |