eclipse-jdt / eclipse-jdt/eclipse.jdt.core
[Bug - Go To/Navigation Java Records] - Can not go to Class
- Dominant language
- Java
- Stars
- 237
- Forks
- 195
- Avg merge
- 1d 12h
- Merged PRs (30d)
- 47
Description
When Instances are created under sealed interface the **Go To navigation** does not work.
Steps To Reproduce
- Clone https://github.com/nipafx/nox.zone
- Checkout this commit **e3280724a270be9775f9360c390ded5535d3eb18**
- Import into VSCode
- Open HtmlElement.java
- Try to naviagate to Anchor class at 28 line with CTRL + Left Click, you can try any class from 28 line to 55.
In order to replicate th screenshot below go to Anchor class line 25:12 and Right Click on **Anchor** return type and then click Open Declaration.

Also, the same behaviour is present in **ListItem.java** class when the **CTRL + Left Click** is executed at *17** line on **ListItem**, or any of the input params of the methods.
In the screenshot below, the references are only loaded for constructor but not for the methods.
Screenshoot for ListItem

Contributor guide
Assessment
This issue has not been assessed yet.