Find usages results window shows the wrong method name
- Dominant language
- Java
- Stars
- 3.1k
- Forks
- 935
- Avg merge
- 2d 3h
- Merged PRs (30d)
- 17
Description
### Apache NetBeans version
Apache NetBeans 16
### What happened
Find usages of a private field works OK, but it appears some method names in the result window are wrong, though the line number is correct.
See image attached, line 310, method name should be cleanup() instead of getNoteViews().

### How to reproduce
_No response_
### Did this work correctly in an earlier version?
No / Don't know
### Operating System
WIN10
### JDK
JDK 17 x64 Adoptium
### Apache NetBeans packaging
Apache NetBeans binary zip
### Anything else
_No response_
### Are you willing to submit a pull request?
No
### Code of Conduct
Yes
Contributor guide
Research direction
Start by reproducing Find Usages for a private field in Apache NetBeans 16 on the example project shown in the issue, focusing on line 310. Compare the displayed method name with the source, and consider the issue complete when the result shows cleanup() rather than getNoteViews().
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- devtools
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100