Community
Participate
Working Groups
- Ctrl+hover on 'ex' => 3 hyperlinks are shown - Open Declaration, Open Declared Type 'FileNotFoundException', Open Declared Type 'InterruptedIOException'. We should add another hyperlink - Open LUB type 'IOException'. ------------------------------------------------------------------------------ void foo() { try { int a = 10; if (a < 10) throw new FileNotFoundException(); else throw new InterruptedIOException(); } catch (FileNotFoundException | InterruptedIOException ex) { ex.printStackTrace(); } } ------------------------------------------------------------------------------
The multiple "Open Declared Type" links are from bug 341485. Note that the LUB is not always a single type (bug 340059 comment 7). Performance-wise, this will not come for free, since we only get an intersection type signature from the IJavaElement.