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

Function spring_class_route_prefix

internal/cbm/extract_defs.c:1703–1711  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1701}
1702
1703static const char *spring_class_route_prefix(CBMArena *a, TSNode class_node, const char *source,
1704 const CBMLangSpec *spec) {
1705 const char *prefix = NULL;
1706 const char *method = NULL;
1707 if (extract_route_from_annotations(a, class_node, source, spec, &prefix, &method)) {
1708 return prefix;
1709 }
1710 return NULL;
1711}
1712
1713// Extract decorator names from preceding decorator/annotation nodes
1714// Count annotations inside a Java/Kotlin/C# "modifiers" node.

Callers 1

push_method_defFunction · 0.85

Calls 1

Tested by

no test coverage detected