| Summary: | No completions for inner class type variables inside DebugShell | ||
|---|---|---|---|
| Product: | [Eclipse Project] JDT | Reporter: | Gayan Perera <gayanper> |
| Component: | Debug | Assignee: | Gayan Perera <gayanper> |
| Status: | VERIFIED FIXED | QA Contact: | |
| Severity: | normal | ||
| Priority: | P3 | CC: | loskutov, sarika.sinha |
| Version: | 4.19 | ||
| Target Milestone: | 4.19 M3 | ||
| Hardware: | All | ||
| OS: | All | ||
| See Also: | https://bugs.eclipse.org/bugs/show_bug.cgi?id=571066 | ||
| Whiteboard: | |||
| Bug Depends on: | 571066 | ||
| Bug Blocks: | 571213 | ||
Fixed via Bug 571066. I20210214-1800 |
package app; import java.util.Map; import java.util.Map.Entry; public class CompletionIssues { public static void main(String[] args) { print(Map.entry("Name", 12L)); } private static void print(Entry<String, Long> entry) { System.out.println(entry.toString()); } } Try to add a debug point at System.out statement and try to list the entry. members inside the DebugShell. Unless you cast the entry to Map.Entry<String, Long> you will not get any completions.