eclipse-jdt/eclipse.jdt.core
在 GitHub 查看[Bug - Go To/Navigation/References] - Does not work for Private Methods/Constructor
Open
#2,810 创建于 2024年8月12日
help wanted
仓库指标
- Star
- (233 star)
- PR 合并指标
- (PR 指标待抓取)
描述
When I try to find all references for private method I get nothing. Is this desired behaviour?
Steps To Reproduce
- Clone https://github.com/nipafx/nox.zone
- Navigate to ResourceGatherer.java
- Go to Line 83, private static String computeResourceFileName(Path sourceFile, String resourceName) {
- Right click on computeResourceFileName method and select Go To References
Constructor Same steps should be performed for constructor of ResourceGatherer class. When the Go To References is called on constructor it will also be blank, however the class is instansiated at ElementResolver.java at line 68
It will say that there are no references, however the method is used within the class.