Files
codebase-memory-mcp/internal
Martin Vogel c4608070a9 fix(extract): extract Java method references as calls (#lsp_method_ref)
A Java method reference `Lhs::name` (e.g. `String::length`) is never
visited by the call walk (it is not a call_expression), so the LSP's
lsp_method_ref resolution had no call site to attach to (callable=0) and no
edge formed. Record a textual call to the referenced method's bare name (the
constructor ref `Lhs::new` uses the unnamed `new` token); the LSP join
matches on the bare name. The referenced method is invoked indirectly, so
this is an accurate call edge. java_cs LSP reproductions 18->19.

Signed-off-by: Martin Vogel <martin.vogel.tech@gmail.com>
2026-06-28 02:46:53 +02:00
..