mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-18 00:20:54 +07:00
Part of IDEA-322693 Migrate as much as possible Java intentions and quick-fixes to ModCommand API GitOrigin-RevId: 4ae648a956c9a33b5649aa6ffff99a6fa9a18f71
15 lines
225 B
Java
15 lines
225 B
Java
// "Add 'throws RuntimeException' to method signature" "true-preview"
|
|
class a {
|
|
int f() throws NullPointerException {
|
|
|
|
}
|
|
|
|
class b extends a {
|
|
|
|
int f() {
|
|
throw new RuntimeException()<caret>;
|
|
}
|
|
}
|
|
}
|
|
|