highlight only method name on unhandled exception (IDEA-190912)

This commit is contained in:
Anna.Kozlova
2018-04-25 21:11:38 +02:00
parent 40af21eaeb
commit 51a2d549b2
25 changed files with 42 additions and 41 deletions
@@ -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 {
@@ -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>();
}
}