microsoft / microsoft/vscode-java-pack
"Show Call Hierarchy" on interface method shows calls to return type's constructors instead
@testforstephen arbeitet bereits daran.
Seit 03.12.2021.
- Vorherrschende Sprache
- TypeScript
- Sterne
- 352
- Forks
- 166
- Ø Merge
- 17 Std. 47 Min.
- Gemergte PRs (30 T.)
- 32
Beschreibung
Environment:
Version: 1.61.0-insider (user setup)
Commit: 0c83ca1ced83259971d80890d93abbe19cbfc992
Date: 2021-09-15T05:16:32.507Z
Electron: 13.1.8
Chrome: 91.0.4472.164
Node.js: 14.16.0
V8: 9.1.269.39-electron.0
OS: Windows_NT x64 10.0.19042
- VS Code Version: 1.61.0-insider (user setup)
- Extension Version: 0.18.5
- JDK Type & Version: 11.0.10+9
- OS Type & Version: Windows 10 Pro (20H2 19042.1165 Windows Feature Experience Pack 120.2212.3530.0)
Step to Reproduce:
Given a java interface, like the one below
package mypackage;
public interface IMyService {
Long doService(MyDTO dto, MyOtherDTO other) throws MyServiceException;
}
Right-click doService method, and "Show Call Hierarchy" (Shift+Alt+H).
Expected Behavior:
I was expecting a list of calls to doService, either over a reference to the given interface or subinterface thereof, or any implementing class, or subclass thereof.
Actual Behavior:
The "References" view appears with a very very long list of method calls, aptly rooted at doService(MyDTO dto, MyOtherDTO other), but the calls are actually those of new Long(...).
Beitragsleitfaden
Für dieses Repository ist kein Beitragsleitfaden indexiert
Erste Schritte
- Lies das ganze Issue und danach den Beitragsleitfaden des Projekts.
- Schreib ins Issue, dass du es übernimmst — das erspart doppelte Arbeit.
- Forke das Repository und arbeite in einem Branch.
- Öffne einen Pull Request, der die Issue-Nummer nennt.
Bewertung
Dieses Issue wurde noch nicht bewertet.