You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[Bug]: Java: calls to inherited methods get no calls edge (this.m(), super.m(), typed receivers) #3931
I have checked the Troubleshooting section in the README
What happened?
_resolve_java_member_calls looks a member call up only on the receiver's declared type. When the method is declared on a superclass, the call gets no calls edge: this.start(), super.close() and worker.start() below all stay unlinked. Expected: an edge to the superclass method, the way Java resolves it (JLS 15.12.2.1 includes inherited members in the search; for super, JLS 15.12.1 searches the direct superclass).
Steps to reproduce
Base.java: class Base { void start() {} void close() {} }
Worker.java: class Worker extends Base {
void viaThis() { this.start(); }
void close() { super.close(); }
}
Service.java: class Service {
Worker worker;
void viaField() { worker.start(); }
}
graphify extract . --code-only
Error output or graph output
Only Worker --inherits--> Base is emitted. No calls edge leaves .viaThis(), Worker.close() or .viaField().
On real code this leaves 1,693 calls edges missing in spring-amqp (679 Java files) and 2,776 in Debezium (3,101 files).
Activity
github-actions commentedon Sep 29, 2026
Thanks for opening this issue, @janwaleed09. A maintainer will take a look soon.
If you would like to discuss it in real time, come say hi on our Discord server. For longer-form questions and ideas there is also GitHub Discussions.
To help us triage, please make sure the report includes what you expected, what actually happened, and the steps (and a small sample) to reproduce it.
janwaleed09 commentedon Sep 29, 2026
on it: fix being pushed