The java diagnostic infer the function from the wrong class/interface. IntelliJ works fine and doesn't report any issues. <img width="641" height="161" alt="Image" src="https://github.com/user-attachments/assets/843ef7fa-ffa6-4970-8940-7beb0380d940" /> ```shell The method setValue(int, int, int) from the type A is not visible ``` Minimal reproduction repository : https://github.com/ggjulio/vscode-java-diagnose-bug see examples: - demo 1: [demo-1/src/main/java/com/example/AB.java](https://github.com/ggjulio/vscode-java-diagnose-bug/blob/master/demo-1/src/main/java/com/example/AB.java) - demo 2: [demo-2/src/main/java/com/example/ABC.java](https://github.com/ggjulio/vscode-java-diagnose-bug/blob/master/demo-2/src/main/java/com/example/ABC.java)