mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-18 09:34:34 +07:00
IDEA-126898 Auto-complete for places where exceptions are expected should favor subclasses of Throwable and should also analyze method body for runtime exceptions thrown.
This commit is contained in:
+8
@@ -0,0 +1,8 @@
|
||||
class IFoo {
|
||||
/**
|
||||
* @throws I<caret>
|
||||
*/
|
||||
void foo() {
|
||||
throw new IllegalArgumentException();
|
||||
}
|
||||
}
|
||||
+5
@@ -0,0 +1,5 @@
|
||||
class Foo {
|
||||
void foo() throws I<caret> {
|
||||
throw new IllegalStateException();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user