mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-21 21:50:54 +07:00
16 lines
286 B
Java
16 lines
286 B
Java
// "Replace with method reference" "false"
|
|
class Test {
|
|
interface InOut {
|
|
void run() throws IOException;
|
|
default void foo(){}
|
|
}
|
|
|
|
InOut bind() {
|
|
return new In<caret>Out() {
|
|
@Override
|
|
public void run() throws IOException {
|
|
foo();
|
|
}
|
|
};
|
|
}
|
|
} |