mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-01-07 13:39:36 +07:00
highlight only method name on unhandled exception (IDEA-190912)
This commit is contained in:
@@ -17,7 +17,7 @@ class Thing<T> {
|
||||
public <X extends Throwable> void exceptionMethod(Supplier<X> xSupplier) throws X { }
|
||||
|
||||
void m(final Thing<Integer> integer){
|
||||
integer.flatMap(s -> new Thing(s)).<error descr="Unhandled exception: java.lang.Throwable">exceptionMethod(IllegalStateException::new);</error>
|
||||
integer.flatMap(s -> new Thing(s)).<error descr="Unhandled exception: java.lang.Throwable">exceptionMethod</error>(IllegalStateException::new);
|
||||
integer.flatMap(Thing::new).exceptionMethod(IllegalStateException::new);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user