| 1701 | } |
| 1702 | |
| 1703 | static 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. |
no test coverage detected