v79
07/17/2022, 7:51 AMmain
function. B contains a class with a DSL that I'm very interested in interrogating. Is that something #ksp can do for me? So when A main
runs, it can iterate over some values in the DSL class in B? I'm probably not even clear what I want...v79
07/17/2022, 7:53 AMDavid Rawson
07/17/2022, 8:42 AMv79
07/17/2022, 8:46 AMDavid Rawson
07/17/2022, 8:49 AMDavid Rawson
07/17/2022, 8:53 AMv79
07/17/2022, 8:54 AMDavid Rawson
07/17/2022, 8:55 AMv79
07/17/2022, 10:55 AMv79
07/17/2022, 11:27 AMclass MyRouter(private val name: String) {
val router = Routing().apply {
@Router
get("/hello")
}
}
(I'm trying to get all the elements with the @Router
annotation, or better still, all the member expressions of the `router`field).David Rawson
07/18/2022, 9:41 AMv79
07/18/2022, 9:46 AM