Greetings. Thinking about triggering some events o...
# ksp
r
Greetings. Thinking about triggering some events on function calls. For example
@TriggerLoggingOnCall fun foo()
. As soon as
KSP
does not modify the source code, I can't call just
logThat()
in the function body. The question is: can close my task with
KSP
?
e
no, you need a compiler plugin or java agent to inject code into existing functions
✔️ 1