| Summary: | [navigation][1.7] Provide new hyperlink - Open LUB type 'SomeException' | ||
|---|---|---|---|
| Product: | [Eclipse Project] JDT | Reporter: | Deepak Azad <deepakazad> |
| Component: | Text | Assignee: | JDT-Text-Inbox <jdt-text-inbox> |
| Status: | ASSIGNED --- | QA Contact: | |
| Severity: | enhancement | ||
| Priority: | P3 | CC: | daniel_megert, deepakazad, markus.kell.r |
| Version: | 3.7 | ||
| Target Milestone: | --- | ||
| Hardware: | All | ||
| OS: | All | ||
| Whiteboard: | |||
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. |
- 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(); } } ------------------------------------------------------------------------------