perf(java): find implementations in the sources through the index (#3132)

Go to Implementation on project code built a region type hierarchy over every source folder, which resolves every type in the region whatever the target; in a large multi-module project it took seconds. It now runs the operation IType.newTypeHierarchy uses, scoped to the source folders and the bridged Kotlin output, so the index narrows the subtypes to files that name a supertype. Results are unchanged, local and anonymous classes included (~230 ms -> ~7 ms on a 4,000-class test project).

Refs #3101
This commit is contained in:
l0ng-ai
2026-11-13 18:27:46 +08:00
committed by GitHub
parent 1d0449d430
commit 2e78c42fac
3 changed files with 32 additions and 6 deletions
Binary file not shown.