Hey guys, I have a question. Let's say I have a ko...
# ksp
b
Hey guys, I have a question. Let's say I have a kotlin object class with a list of constants for localization keys. How can I access the values of the variables inside KSP to validate them?
e
values are not available in KSP
j
If you can put the values in annotation arguments it will work, but might not fit your case.
b
Guess i need to look into kcp
e
Maybe not a good idea since there are no guarantees for api stability
j
Yeah it is not a good idea, you are relying on 2 implementation details, one in KSP for getting
KtProperty
and another in compiler for getting the structure via
KtProperty