Title: Java member calls lose receiver type information · Issue #1696 · Graphify-Labs/graphify · GitHub
Open Graph Title: Java member calls lose receiver type information · Issue #1696 · Graphify-Labs/graphify
X Title: Java member calls lose receiver type information · Issue #1696 · Graphify-Labs/graphify
Description: Context On v8, Java method_invocation entries drop receiver and type information. With same-named methods in multiple classes, resolution is ambiguous and no call edges are emitted. Reproducer Services.java class PaymentGateway { static ...
Open Graph Description: Context On v8, Java method_invocation entries drop receiver and type information. With same-named methods in multiple classes, resolution is ambiguous and no call edges are emitted. Reproducer Serv...
X Description: Context On v8, Java method_invocation entries drop receiver and type information. With same-named methods in multiple classes, resolution is ambiguous and no call edges are emitted. Reproducer Serv...
Opengraph URL: https://github.com/Graphify-Labs/graphify/issues/1696
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Java member calls lose receiver type information","articleBody":"### Context\n\nOn `v8`, Java `method_invocation` entries drop receiver and type information. With same-named methods in multiple classes, resolution is ambiguous and no call edges are emitted.\n\n### Reproducer\n\n`Services.java`\n```java\nclass PaymentGateway { static void ping() {} void charge() {} }\nclass AuditLog { static void ping() {} void charge() {} }\n```\n\n`Checkout.java`\n```java\nclass Checkout {\n PaymentGateway gateway;\n\n void run(PaymentGateway parameter) {\n PaymentGateway.ping();\n gateway.charge();\n this.gateway.charge();\n parameter.charge();\n }\n}\n```\n\n### Current behavior\n\nRepresentative cache shapes (paths, locations, and repeated call sites omitted):\n\n```json\n[\n {\"callee\": \"ping\", \"is_member_call\": false, \"receiver\": null},\n {\"callee\": \"charge\", \"is_member_call\": false, \"receiver\": null}\n]\n```\n\nAll four call sites are stored without receiver information.\n\n### Expected\n\nPreserve the receiver and static receiver type per call site, then resolve only unambiguous owners:\n\n```text\nrun -\u003e PaymentGateway.ping [EXTRACTED]\nrun -\u003e PaymentGateway.charge [INFERRED]\n```\n\nThe three `charge()` calls remain separate in the cache but deduplicate to one graph edge. No edge should target the same-named `AuditLog` methods.\n\n### Scope\n\nCover explicit type receivers, current-class fields, parameters, and explicitly typed locals. Defer inherited fields, chained receivers, interface/runtime dispatch, and target overload selection.","author":{"url":"https://github.com/oleksii-tumanov","@type":"Person","name":"oleksii-tumanov"},"datePublished":"2026-07-06T08:19:43.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/1696/graphify/issues/1696"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:7733bead-140d-6101-9142-a01d6bcd50f6 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | B3A0:BF567:A3E9D6:E6F88F:6A4BDCF3 |
| html-safe-nonce | 52ac12e1eec4f47aa019315224b2cd58b8c612940d9a9e244f3c5e3e3012cef9 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCM0EwOkJGNTY3OkEzRTlENjpFNkY4OEY6NkE0QkRDRjMiLCJ2aXNpdG9yX2lkIjoiNDE1MzAwNTUzNzU5MDIzODQ1MSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | f301b9b19b64efa691308e0f438e4e565e35c05dd22866f883c2bdeeae6dead1 |
| hovercard-subject-tag | issue:4817282876 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/Graphify-Labs/graphify/1696/issue_layout |
| twitter:image | https://opengraph.githubassets.com/864119e3ce896a213984a224722f22c8bd77fcd03121ded010e098b829a40db4/Graphify-Labs/graphify/issues/1696 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/864119e3ce896a213984a224722f22c8bd77fcd03121ded010e098b829a40db4/Graphify-Labs/graphify/issues/1696 |
| og:image:alt | Context On v8, Java method_invocation entries drop receiver and type information. With same-named methods in multiple classes, resolution is ambiguous and no call edges are emitted. Reproducer Serv... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | oleksii-tumanov |
| hostname | github.com |
| expected-hostname | github.com |
| None | 9df996be9551ac02247d09a2f7f64ece66c35ca28885d346e98fdfda9cdaa37b |
| turbo-cache-control | no-preview |
| go-import | github.com/Graphify-Labs/graphify git https://github.com/Graphify-Labs/graphify.git |
| octolytics-dimension-user_id | 297659074 |
| octolytics-dimension-user_login | Graphify-Labs |
| octolytics-dimension-repository_id | 1200597263 |
| octolytics-dimension-repository_nwo | Graphify-Labs/graphify |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 1200597263 |
| octolytics-dimension-repository_network_root_nwo | Graphify-Labs/graphify |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 7242837c61fe4c8b774b83b9ee05b1881ba589f8 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width