mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-05 15:50:49 +07:00
GitOrigin-RevId: 7f72c5f68ab821e728eb0d5152f0910f48035046
15 lines
239 B
Java
15 lines
239 B
Java
// "Add exception to method signature" "true-preview"
|
|
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();
|
|
}
|
|
}
|