Alexander Ioffe
07/28/2024, 5:20 AMSerialDescriptor.annotations
and trying to find out whether a particular annotation exists on a field I can't do SerialDescriptor.annotations.find { it.<???> }
because it
is a kotlin.Annotation
instance that has no fields or methods. On the JVM I could just do it.annotationClass
and it would give me a KClass instance whose full-path I could check. How do I do the same thing in KMP?ephemient
07/28/2024, 5:38 AMis
check?Alexander Ioffe
07/28/2024, 5:52 AMAlexander Ioffe
07/28/2024, 5:52 AM