mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-31 11:20:55 +07:00
Part of IDEA-322693 Migrate as much as possible Java intentions and quick-fixes to ModCommand API GitOrigin-RevId: 4ae648a956c9a33b5649aa6ffff99a6fa9a18f71
17 lines
296 B
Java
17 lines
296 B
Java
// "Add exception to method signature|->Change only this method" "true-preview"
|
|
class C {
|
|
interface I {
|
|
void a();
|
|
}
|
|
|
|
{
|
|
Callable<I> i = () -> {
|
|
return new I() {
|
|
public void a() throws InterruptedException {
|
|
Thread.sleep(2000);
|
|
}
|
|
};
|
|
};
|
|
}
|
|
}
|