René's URL Explorer Experiment


Title: fix: match JDT LS on same-arity overloads, type arguments and varargs by 1lck · Pull Request #2 · Lithe-IDEA/lithe-plugin-java-navigation · GitHub

Open Graph Title: fix: match JDT LS on same-arity overloads, type arguments and varargs by 1lck · Pull Request #2 · Lithe-IDEA/lithe-plugin-java-navigation

X Title: fix: match JDT LS on same-arity overloads, type arguments and varargs by 1lck · Pull Request #2 · Lithe-IDEA/lithe-plugin-java-navigation

Description: 背景 在 Nacos(2886 个 Java 文件)上同时问 JDT LS 和本插件同一批位置(3 组种子 × 1500 个),比较跳转目标。修复前唯一的两处跳错都是参数个数相同的重载,另有几类 JDT LS 能跳而本插件跳不了的写法。 改动 同参数个数的重载按实参类型挑(internal/codenav/overloads.go):索引给每个方法/构造器记下参数的简单类型名(每个成员一个驻留字符串,同签名共享)。调用处有多个候选时,按实参里看得出的类型打分:字面量(字符串、字符、数字后缀、布尔、null)、字符串拼接、强转、X.class、new 表达式、局部变量和字段声明的类型、解析器能跟下去的表达式类型。规则和 Java 一样:不需要展开可变参数就能匹配的候选优先于可变参数候选;分数相同取第一个(与原来行为一致)。 例:new AccessException("user not found!") 原来跳到 AccessException(int),现在跳到 AccessException(String);initClassMethod(Set.of(...)) 跳到 Set 版本;Preconditions.checkArgument(x, "msg") 跳到两参数版本而不是可变参数版本。 显式类型实参调用(internal/codenav/qualified.go):RestResult.builder() 的 builder 和其后的调用链能跳。 限定名注解:@ExtractorManager.Extractor(...) 的 Extractor 跳到嵌套注解类型。 可变参数参数:String... keys、Type... typeArguments 原来在声明和使用处都跳不了(findLocal 没认出 ...)。 resolve.go/parse.go 的改动(Viff 上游文件)都记在 internal/codenav/UPSTREAM.md:Viff 还没发布 codenav,上游发布后连同新文件一起提回去。 README 新增“和 JDT LS 对比跳转目标”一节,功能和限制说明同步更新;docs/releases/v0.0.1.md 同步。 验证 新增 internal/codenav/jdtls_cases_test.go(修复前失败 12+5 条,修复后通过);go test -race ./... 通过。 和 JDT LS 对比(修复后): 结果 种子 2 种子 7 种子 11 项目内同一处 1099 1071 1086 JDK 同一个类 326 337 327 都没有结果 8 14 17 只有 JDT LS:依赖库 59 72 64 只有 JDT LS:项目内/JDK 8 3 5 只有本插件 0 2 0 都跳了但不一样 0 1 1 剩下的“不一样”都不是跳错:org.xml.sax.Attributes 在 JDK 里(JDT LS 归为依赖库);Properties.putAll 是 JDK 9 起的重写(模块按 JDK 8 编译)。 命中率与性能(A/B 同条件,ruoyi-vue-pro 6355 文件):命中率不变,p50 约 65 µs,RSS 旧 69.0–70.5 MiB / 新 66.4–72.5 MiB,在噪声内。Nacos 命中率 93.9%/94.9% → 94.0%/95.0%。 🤖 Generated with Claude Code

Open Graph Description: 背景 在 Nacos(2886 个 Java 文件)上同时问 JDT LS 和本插件同一批位置(3 组种子 × 1500 个),比较跳转目标。修复前唯一的两处跳错都是参数个数相同的重载,另有几类 JDT LS 能跳而本插件跳不了的写法。 改动 同参数个数的重载按实参类型挑(internal/codenav/overloads.go):索引给每个方法/构造器记下参数的简单类型名(每个成员一个...

X Description: 背景 在 Nacos(2886 个 Java 文件)上同时问 JDT LS 和本插件同一批位置(3 组种子 × 1500 个),比较跳转目标。修复前唯一的两处跳错都是参数个数相同的重载,另有几类 JDT LS 能跳而本插件跳不了的写法。 改动 同参数个数的重载按实参类型挑(internal/codenav/overloads.go):索引给每个方法/构造器记下参数的简单类型名(每个成员一个...

Opengraph URL: https://github.com/Lithe-IDEA/lithe-plugin-java-navigation/pull/2

X: @github

direct link

Domain: github.com

IPv4 address: 140.82.113.4

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322
route-pattern/:user_id/:repository/pull/:id/files(.:format)
route-controllerpull_requests
route-actionfiles
fetch-noncev2:273c6719-34ab-a8f3-973e-b917f0d6c20a
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-id8022:1D51B:32C9D1D:4535AB6:6B071382
html-safe-nonce627a7fdb3c762cc5fb9528dbefe6c7d59699c1d7e922cdac478aa3467d3dd62b
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4MDIyOjFENTFCOjMyQzlEMUQ6NDUzNUFCNjo2QjA3MTM4MiIsInZpc2l0b3JfaWQiOiI0NjY3NTI1MTk0OTgwOTg3Nzc4IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmacbd2642b7190ea498e701ca9a9439b926e1956757681315c4e083aa1917606b97
hovercard-subject-tagpull_request:5278013153
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///pull_requests/show/files
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/Lithe-IDEA/lithe-plugin-java-navigation/pull/2/files
twitter:imagehttps://avatars.githubusercontent.com/u/159525154?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/159525154?s=400&v=4
og:image:alt背景 在 Nacos(2886 个 Java 文件)上同时问 JDT LS 和本插件同一批位置(3 组种子 × 1500 个),比较跳转目标。修复前唯一的两处跳错都是参数个数相同的重载,另有几类 JDT LS 能跳而本插件跳不了的写法。 改动 同参数个数的重载按实参类型挑(internal/codenav/overloads.go):索引给每个方法/构造器记下参数的简单类型名(每个成员一个...
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
None9aaa1abe1aaef39a8543ab08df7a776c3243275815d741d29afa7b02148ca05e
turbo-cache-controlno-preview
diff-viewunified
go-importgithub.com/Lithe-IDEA/lithe-plugin-java-navigation git https://github.com/Lithe-IDEA/lithe-plugin-java-navigation.git
octolytics-dimension-user_id340144206
octolytics-dimension-user_loginLithe-IDEA
octolytics-dimension-repository_id1455228792
octolytics-dimension-repository_nwoLithe-IDEA/lithe-plugin-java-navigation
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id1455228792
octolytics-dimension-repository_network_root_nwoLithe-IDEA/lithe-plugin-java-navigation
turbo-body-classeslogged-out env-production page-responsive full-width
disable-turbotrue
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release44c43783771de038e2c401dd343799000e8d1253
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/Lithe-IDEA/lithe-plugin-java-navigation/pull/2/files#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FLithe-IDEA%2Flithe-plugin-java-navigation%2Fpull%2F2%2Ffiles
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://github.com/security/advanced-security
Copilot for businessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FLithe-IDEA%2Flithe-plugin-java-navigation%2Fpull%2F2%2Ffiles
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fpull_requests%2Fshow%2Ffiles&source=header-repo&source_repo=Lithe-IDEA%2Flithe-plugin-java-navigation
Reloadhttps://github.com/Lithe-IDEA/lithe-plugin-java-navigation/pull/2/files
Reloadhttps://github.com/Lithe-IDEA/lithe-plugin-java-navigation/pull/2/files
Reloadhttps://github.com/Lithe-IDEA/lithe-plugin-java-navigation/pull/2/files
Lithe-IDEAhttps://github.com/Lithe-IDEA
lithe-plugin-java-navigationhttps://github.com/Lithe-IDEA/lithe-plugin-java-navigation
Codehttps://github.com/Lithe-IDEA/lithe-plugin-java-navigation
Issues3 (3)https://github.com/Lithe-IDEA/lithe-plugin-java-navigation/issues
Pull requestshttps://github.com/Lithe-IDEA/lithe-plugin-java-navigation/pulls
Actionshttps://github.com/Lithe-IDEA/lithe-plugin-java-navigation/actions
Projectshttps://github.com/Lithe-IDEA/lithe-plugin-java-navigation/projects
Security and qualityhttps://github.com/Lithe-IDEA/lithe-plugin-java-navigation/security
Insightshttps://github.com/Lithe-IDEA/lithe-plugin-java-navigation/insights
Sign up for GitHub https://github.com/signup?return_to=%2FLithe-IDEA%2Flithe-plugin-java-navigation%2Fissues%2Fnew%2Fchoose
terms of servicehttps://docs.github.com/terms
privacy statementhttps://docs.github.com/privacy
Sign inhttps://github.com/login?return_to=%2FLithe-IDEA%2Flithe-plugin-java-navigation%2Fissues%2Fnew%2Fchoose
1lckhttps://github.com/1lck
mainhttps://github.com/Lithe-IDEA/lithe-plugin-java-navigation/tree/main
fix/jdtls-comparisonhttps://github.com/Lithe-IDEA/lithe-plugin-java-navigation/tree/fix/jdtls-comparison
Conversation 0 https://github.com/Lithe-IDEA/lithe-plugin-java-navigation/pull/2
Commits 1 https://github.com/Lithe-IDEA/lithe-plugin-java-navigation/pull/2/commits
Checks 3 https://github.com/Lithe-IDEA/lithe-plugin-java-navigation/pull/2/checks
Files changed https://github.com/Lithe-IDEA/lithe-plugin-java-navigation/pull/2/files
Please reload this pagehttps://github.com/Lithe-IDEA/lithe-plugin-java-navigation/pull/2/files
fix: match JDT LS on same-arity overloads, type arguments and varargs https://github.com/Lithe-IDEA/lithe-plugin-java-navigation/pull/2/files#top
Show all changes 1 commit https://github.com/Lithe-IDEA/lithe-plugin-java-navigation/pull/2/files
77b2b38 fix: match JDT LS on same-arity overloads, type arguments and varargs 1lck Nov 12, 2026 https://github.com/Lithe-IDEA/lithe-plugin-java-navigation/pull/2/commits/77b2b3845d1ccfcce041743c77bf94c76e53458a
Clear filters https://github.com/Lithe-IDEA/lithe-plugin-java-navigation/pull/2/files
Please reload this pagehttps://github.com/Lithe-IDEA/lithe-plugin-java-navigation/pull/2/files
Please reload this pagehttps://github.com/Lithe-IDEA/lithe-plugin-java-navigation/pull/2/files
README.md https://github.com/Lithe-IDEA/lithe-plugin-java-navigation/pull/2/files#diff-b335630551682c19a781afebcf4d07bf978fb1f8ac04c6bf87428ed5106870f5
v0.0.1.md https://github.com/Lithe-IDEA/lithe-plugin-java-navigation/pull/2/files#diff-24c43db482051615643e12d3f175f1e1c8264d57325bdde64264f968da1cb3ba
UPSTREAM.md https://github.com/Lithe-IDEA/lithe-plugin-java-navigation/pull/2/files#diff-d6d8005729bf94d355cd159d24fd335eb4741f413cc90732c0693d673a739670
jdtls_cases_test.go https://github.com/Lithe-IDEA/lithe-plugin-java-navigation/pull/2/files#diff-e51dd87d604d0f23f8b588db67fca87ff08e026e112b1b583c62789ed538dc46
overloads.go https://github.com/Lithe-IDEA/lithe-plugin-java-navigation/pull/2/files#diff-d8f70f12eaf4b116f8f5c13f506eb841330464963fda98e3ed4ee95076f0313c
parse.go https://github.com/Lithe-IDEA/lithe-plugin-java-navigation/pull/2/files#diff-6d0a9034f7e93a452ba3097af6cb809ac918218155c2664831a5c57d8556a8bd
qualified.go https://github.com/Lithe-IDEA/lithe-plugin-java-navigation/pull/2/files#diff-d420e25fe2ff69d6f736fd4ad1f746e5c1446e27cf438a898f9181033ed1e0f9
resolve.go https://github.com/Lithe-IDEA/lithe-plugin-java-navigation/pull/2/files#diff-978f8d5ea4f9bd0644042f25178bbbb41f8808faa728c53e2f2df12ab57513af
README.mdhttps://github.com/Lithe-IDEA/lithe-plugin-java-navigation/pull/2/files#diff-b335630551682c19a781afebcf4d07bf978fb1f8ac04c6bf87428ed5106870f5
View file https://github.com/Lithe-IDEA/lithe-plugin-java-navigation/blob/77b2b3845d1ccfcce041743c77bf94c76e53458a/README.md
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/Lithe-IDEA/lithe-plugin-java-navigation/pull/2/{{ revealButtonHref }}
https://github.com/Lithe-IDEA/lithe-plugin-java-navigation/pull/2/files#diff-b335630551682c19a781afebcf4d07bf978fb1f8ac04c6bf87428ed5106870f5
https://github.com/Lithe-IDEA/lithe-plugin-java-navigation/pull/2/files#diff-b335630551682c19a781afebcf4d07bf978fb1f8ac04c6bf87428ed5106870f5
https://github.com/Lithe-IDEA/lithe-plugin-java-navigation/pull/2/files#diff-b335630551682c19a781afebcf4d07bf978fb1f8ac04c6bf87428ed5106870f5
https://github.com/Lithe-IDEA/lithe-plugin-java-navigation/pull/2/files#diff-b335630551682c19a781afebcf4d07bf978fb1f8ac04c6bf87428ed5106870f5
https://github.com/Lithe-IDEA/lithe-plugin-java-navigation/pull/2/files#diff-b335630551682c19a781afebcf4d07bf978fb1f8ac04c6bf87428ed5106870f5
docs/releases/v0.0.1.mdhttps://github.com/Lithe-IDEA/lithe-plugin-java-navigation/pull/2/files#diff-24c43db482051615643e12d3f175f1e1c8264d57325bdde64264f968da1cb3ba
View file https://github.com/Lithe-IDEA/lithe-plugin-java-navigation/blob/77b2b3845d1ccfcce041743c77bf94c76e53458a/docs/releases/v0.0.1.md
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/Lithe-IDEA/lithe-plugin-java-navigation/pull/2/{{ revealButtonHref }}
https://github.com/Lithe-IDEA/lithe-plugin-java-navigation/pull/2/files#diff-24c43db482051615643e12d3f175f1e1c8264d57325bdde64264f968da1cb3ba
internal/codenav/UPSTREAM.mdhttps://github.com/Lithe-IDEA/lithe-plugin-java-navigation/pull/2/files#diff-d6d8005729bf94d355cd159d24fd335eb4741f413cc90732c0693d673a739670
View file https://github.com/Lithe-IDEA/lithe-plugin-java-navigation/blob/77b2b3845d1ccfcce041743c77bf94c76e53458a/internal/codenav/UPSTREAM.md
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/Lithe-IDEA/lithe-plugin-java-navigation/pull/2/{{ revealButtonHref }}
https://github.com/Lithe-IDEA/lithe-plugin-java-navigation/pull/2/files#diff-d6d8005729bf94d355cd159d24fd335eb4741f413cc90732c0693d673a739670
https://github.com/Lithe-IDEA/lithe-plugin-java-navigation/pull/2/files#diff-d6d8005729bf94d355cd159d24fd335eb4741f413cc90732c0693d673a739670
internal/codenav/jdtls_cases_test.gohttps://github.com/Lithe-IDEA/lithe-plugin-java-navigation/pull/2/files#diff-e51dd87d604d0f23f8b588db67fca87ff08e026e112b1b583c62789ed538dc46
View file https://github.com/Lithe-IDEA/lithe-plugin-java-navigation/blob/77b2b3845d1ccfcce041743c77bf94c76e53458a/internal/codenav/jdtls_cases_test.go
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/Lithe-IDEA/lithe-plugin-java-navigation/pull/2/{{ revealButtonHref }}
Please reload this pagehttps://github.com/Lithe-IDEA/lithe-plugin-java-navigation/pull/2/files
Please reload this pagehttps://github.com/Lithe-IDEA/lithe-plugin-java-navigation/pull/2/files
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Response headers:
Servergithub.com
Content-Typetext/html; charset=utf-8
Cache-Controlno-cache

Viewport: width=device-width


URLs of crawlers that visited me.