Skip to content

Using java Custom Annotation in kotlin

I’ve created a custom annotation in java and I’m trying to use it in a Kotlin written class but in the compile time, I’m getting an error: Annotation parameter must be a compile-time constant Here …