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

Function is_map_like

internal/cbm/lsp/java_lsp.c:1022–1037  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1020}
1021
1022static bool is_map_like(const char *qn) {
1023 static const char *known[] = {
1024 "java.util.Map",
1025 "java.util.HashMap",
1026 "java.util.TreeMap",
1027 "java.util.LinkedHashMap",
1028 "java.util.concurrent.ConcurrentHashMap",
1029 "java.util.concurrent.ConcurrentMap",
1030 NULL,
1031 };
1032 for (int i = 0; known[i]; i++) {
1033 if (strcmp(known[i], qn) == 0)
1034 return true;
1035 }
1036 return false;
1037}
1038
1039static const CBMType *substitute_generic_return(JavaLSPContext *ctx, const char *recv_qn,
1040 const char *method_name,

Callers 3

propagate_templateFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected