https://kotlinlang.org logo
#ksp
Title
# ksp
e

evanchooly

03/30/2023, 11:04 PM
given a
KSPropertyDeclaration
, how do I get any initializing code for that property?
j

jw

03/30/2023, 11:14 PM
You cannot
e

evanchooly

03/31/2023, 1:05 AM
that's the conclusion I'd been coming to as well. unfortunate. i'll have to rethink this a bit. if nothing else I can drill down to the PSI types underneath and extract that but ... gross.
e

efemoney

03/31/2023, 7:23 AM
I’d say maybe go with a compiler plugin?
6 Views