mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-01-08 15:09:39 +07:00
17 lines
249 B
Java
17 lines
249 B
Java
// "Add exception to method signature" "true-preview"
|
|
class C {
|
|
interface I {
|
|
void a();
|
|
}
|
|
|
|
{
|
|
Callable<I> i = () -> {
|
|
return new I() {
|
|
public void a() {
|
|
Thread.sl<caret>eep(2000);
|
|
}
|
|
};
|
|
};
|
|
}
|
|
}
|