eclipse-jdt / eclipse-jdt/eclipse.jdt.ui
Record components appear as non-final package level members
Open
Nobody has claimed this yet.
- Dominant language
- Java
- Stars
- 59
- Forks
- 127
- Avg merge
- 1d 8h
- Merged PRs (30d)
- 37
Description
record Point(int x, int y) {}
Hovering over x shows the component as a package-private non-final member instead of a private final one. Same in the outline view:
Its accessor method x() also shows as as package-private instead of public.
I think that this is a regression, but didn't check previous versions.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the issue with the Java record snippet and inspect the hover and outline views for the component and its accessor. The fix is complete when the component appears private and final, and its accessor appears public, in both views.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- devtools
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100