mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-01-08 23:39:39 +07:00
15 lines
231 B
Java
15 lines
231 B
Java
// "Add exception to method signature" "true"
|
|
class C {
|
|
public static void main(String[] args){
|
|
I i = C::f<caret>oo;
|
|
}
|
|
|
|
class Ex extends Exception {}
|
|
|
|
static void foo() throws Ex {}
|
|
|
|
interface I {
|
|
void f();
|
|
}
|
|
}
|