read

You need to use kotlin.annotation.AnnotationRetention to declare retention policy and your “static” variables inside a companion object .

Check: