In Kotlin, is there a way to define an annotation on a delegated property (ex: lazy)?
class MyActivity: Activity() {
@ColorInt
val textColor: Int by lazy { ContextCompat.getColor(this, R.color.someColor) }
...
The IDE throws an error at the @ColorInt annotation:
This annotation is not applicable to target 'member property with delegate'