[java] highlighting on generic throw types (IDEA-175073)

This commit is contained in:
Roman Shevchenko
2017-06-30 16:03:26 +02:00
parent 9bbd2c30dc
commit 298539fae0
3 changed files with 54 additions and 37 deletions
@@ -0,0 +1,4 @@
class C {
static class MyThrowable<T> extends <error descr="Generic class may not extend 'java.lang.Throwable'">Throwable</error> { }
void test() throws <error descr="Generic class may not extend 'java.lang.Throwable'">MyThrowable<Integer></error> { }
}