MCPcopy Create free account
hub / github.com/DeusData/codebase-memory-mcp / java_emit_unresolved_kind

Function java_emit_unresolved_kind

internal/cbm/lsp/java_lsp.c:1851–1863  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1849}
1850
1851static void java_emit_unresolved_kind(JavaLSPContext *ctx, const char *expr_text,
1852 const char *reason, CBMResolvedKind kind) {
1853 if (!ctx->resolved_calls || !ctx->enclosing_method_qn)
1854 return;
1855 CBMResolvedCall rc = {0};
1856 rc.caller_qn = ctx->enclosing_method_qn;
1857 rc.callee_qn = expr_text ? expr_text : "?";
1858 rc.strategy = "lsp_unresolved";
1859 rc.confidence = 0.0f;
1860 rc.reason = reason;
1861 rc.kind = kind;
1862 cbm_resolvedcall_push(ctx->resolved_calls, ctx->arena, rc);
1863}
1864
1865static void java_emit_unresolved(JavaLSPContext *ctx, const char *expr_text, const char *reason) {
1866 java_emit_unresolved_kind(ctx, expr_text, reason, CBM_RESOLVED_INVOCATION);

Callers 2

java_emit_unresolvedFunction · 0.85

Calls 1

cbm_resolvedcall_pushFunction · 0.85

Tested by

no test coverage detected