Hi all,
I would like to examine the following property definition with ksp:
@ClassID
val classID: Long = 0x180
I found the expression easily using
getSymbolsWithAnnotation
and was able to find out several things, such as the type of the property and its name. The only thing I could not determine was the actual value of the getter
0x180
.
Is this possible in principle with ksp and how would one solve this problem?
I would be grateful for any hints or advice on how to solve this!
p
Paul Woitaschek
11/08/2021, 12:59 PM
I think you can read it if the class I'd was a value of the annotation.