eclipse-jdt / eclipse-jdt/eclipse.jdt.core
False positive "The static method X from the type Y should be accessed directly"
Open
- Dominant language
- Java
- Stars
- 237
- Forks
- 195
- Avg merge
- 1d 12h
- Merged PRs (30d)
- 47
Description
Assume the following code: [test.access.staticprotected.zip](https://github.com/eclipse-jdt/eclipse.jdt.core/files/10888888/test.access.staticprotected.zip)
We now change the class like this and get a warning:

This is a false-positive because the recommended "direct" access is actually not accessible:

Contributor guide
Assessment
This issue has not been assessed yet.