mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-09 20:42:52 +07:00
highlight only method name on unhandled exception (IDEA-190912)
This commit is contained in:
+1
-1
@@ -1,6 +1,6 @@
|
||||
|
||||
enum ABC {
|
||||
<error descr="Unhandled exception: java.io.IOException">A()</error>,
|
||||
<error descr="Unhandled exception: java.io.IOException">A</error>(),
|
||||
<error descr="Unhandled exception: java.io.IOException">B</error>,
|
||||
<error descr="Unhandled exception: java.io.IOException">C</error>;
|
||||
ABC() throws java.io.IOException {
|
||||
|
||||
+2
-2
@@ -4,10 +4,10 @@ interface I<T extends Exception> {
|
||||
|
||||
class C {
|
||||
void x(I<?> i) {
|
||||
i.<error descr="Unhandled exception: java.lang.Exception">m();</error>
|
||||
i.<error descr="Unhandled exception: java.lang.Exception">m</error>();
|
||||
}
|
||||
|
||||
void y(I<? extends Exception> i) {
|
||||
i.<error descr="Unhandled exception: java.lang.Exception">m();</error>
|
||||
i.<error descr="Unhandled exception: java.lang.Exception">m</error>();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user