Is there a way using KSP to get a getter expression? I have some metrics classes that have a bunch of calculated fields getters, and instead of serializing them all into json, I want to generate a typescript class with the same calculated values.
I already have the KSPropertyDecleration and I can see the getter, but I'm not sure how to go about extracting the expression
Ultimately what I want is to extract
new.adjustments + expanded.adjustments
From
val adjustmentWins get() = new.adjustments + expanded.adjustments