mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-22 06:20:54 +07:00
14 lines
240 B
Java
14 lines
240 B
Java
class Test {
|
|
|
|
public void testConsume() {
|
|
consume(exception());
|
|
}
|
|
|
|
public static void consume(Throwable t) {}
|
|
|
|
public static void consume(String s) {}
|
|
|
|
public static <E extends Exception> E exception() {
|
|
return null;
|
|
}
|
|
} |