mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-18 09:34:34 +07:00
Postfix completion: apply throw template on Throwable only
This commit is contained in:
@@ -1,5 +1,7 @@
|
||||
import java.lang.RuntimeException;
|
||||
|
||||
public class Foo {
|
||||
void m(Object o) {
|
||||
o.throw<caret>
|
||||
void m() {
|
||||
new RuntimeException("error").throw<caret>
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user