jsw6701
7aacf380dd
fix(extract): extract Spring routes from Kotlin controllers
...
try_route_from_annotation read the annotation name via the "name" field
(ts_node_child_by_field_name). tree-sitter-kotlin annotation nodes have no
"name" field: the name lives in a nested type_identifier under (user_type)
or (constructor_invocation (user_type ...)). The lookup returned null, so
every Kotlin @RestController route was dropped (0 decorator-source routes)
while Java worked. Args are likewise under constructor_invocation as
value_arguments (each wrapped in value_argument), not Java argument_list.
Add annotation_name_node()/annotation_args_node() that fall back to the
Kotlin AST shape (Java path unchanged) and unwrap value_argument when
scanning for the route path. Kotlin @GetMapping/@PostMapping/etc. now yield
Route nodes and HANDLES edges. Adds handles_spring_kotlin regression test.
Signed-off-by: jsw6701 <86887824+jsw6701@users.noreply.github.com >
2026-06-23 03:59:45 +00:00
..
2026-06-05 21:53:25 +02:00
2026-06-05 21:53:25 +02:00
2026-03-22 18:33:10 -05:00
2026-03-15 22:37:34 +01:00
2026-05-30 18:26:44 +02:00
2026-04-15 23:56:03 +02:00
2026-06-05 21:53:25 +02:00
2026-06-22 22:03:37 +02:00
2026-04-01 23:22:44 +02:00
2026-06-07 18:29:05 +02:00
2026-06-06 22:16:04 +02:00
2026-06-05 21:53:25 +02:00
2026-05-19 22:47:53 +02:00
2026-06-02 18:50:55 +02:00
2026-06-22 23:27:09 +02:00
2026-03-25 09:28:11 +01:00
2026-06-07 13:00:55 +02:00
2026-06-07 13:00:55 +02:00
2026-06-23 03:59:45 +00:00
2026-06-07 12:35:53 +02:00
2026-06-08 22:55:23 +02:00
2026-06-22 22:03:53 +02:00
2026-05-31 17:22:02 +02:00
2026-06-05 21:53:25 +02:00
2026-06-22 23:51:49 +02:00
2026-03-15 22:37:34 +01:00
2026-06-05 21:53:25 +02:00
2026-06-12 02:17:39 +02:00
2026-06-07 19:13:01 +02:00
2026-06-07 19:13:01 +02:00
2026-06-07 19:13:01 +02:00
2026-06-07 20:05:24 +02:00
2026-06-07 20:05:24 +02:00
2026-06-07 20:05:24 +02:00
2026-06-08 22:55:23 +02:00
2026-06-12 02:17:39 +02:00
2026-03-24 23:48:23 +01:00
2026-05-21 22:52:16 +02:00
2026-03-31 20:04:11 +02:00
2026-06-12 02:17:25 +02:00
2026-06-22 23:28:03 +02:00
2026-06-22 22:04:31 +02:00
2026-06-22 22:05:18 +02:00
2026-06-02 18:52:37 +02:00
2026-06-02 18:52:37 +02:00
2026-06-03 01:33:25 +02:00
2026-06-12 02:17:39 +02:00
2026-06-12 02:17:39 +02:00
2026-06-06 22:30:38 +02:00
2026-06-07 14:16:36 +02:00
2026-03-15 22:37:34 +01:00
2026-06-12 02:17:25 +02:00
2026-06-08 22:55:23 +02:00
2026-06-07 18:29:05 +02:00
2026-06-22 23:28:07 +02:00
2026-06-05 21:53:25 +02:00
2026-06-12 02:17:39 +02:00
2026-06-16 13:26:25 +03:00
2026-06-06 22:30:38 +02:00
2026-05-29 04:20:20 +02:00
2026-05-09 16:05:45 +02:00
2026-06-22 23:28:28 +02:00
2026-05-30 20:15:30 +02:00
2026-06-05 21:53:25 +02:00
2026-05-09 15:44:09 +02:00
2026-05-09 14:16:15 +02:00
2026-05-31 03:14:17 +02:00
2026-06-22 22:04:06 +02:00
2026-06-03 02:13:30 +02:00
2026-05-08 22:26:56 +02:00
2026-05-10 20:43:45 +02:00
2026-06-05 21:53:25 +02:00
2026-06-10 16:42:20 +02:00
2026-06-10 13:03:00 +02:00
2026-06-09 23:07:47 +02:00
2026-03-20 20:32:38 +01:00
2026-05-29 03:37:56 +02:00
2026-03-24 23:48:23 +01:00
2026-05-31 12:50:19 +02:00
2026-05-29 03:37:56 +02:00
2026-06-22 22:04:19 +02:00
2026-03-24 23:48:23 +01:00
2026-03-25 09:47:59 +01:00
2026-03-24 23:48:23 +01:00
2026-06-12 10:51:11 +02:00
2026-06-10 12:11:02 +02:00
2026-04-01 23:22:44 +02:00
2026-04-06 14:34:07 +02:00
2026-06-05 21:53:25 +02:00
2026-06-06 18:36:28 +02:00
2026-06-06 19:48:48 +02:00
2026-03-24 23:48:23 +01:00
2026-04-15 23:56:03 +02:00