Is it somehow possible to have "annotation aliases" in Kotlin?
What I want to achieve is to transform this
@Colour("red")
fun method() = "something"
into something like this
annotationalias Red = Colour("red")
@Red
fun method() = "something"
Is it somehow possible to have "annotation aliases" in Kotlin?
What I want to achieve is to transform this
@Colour("red")
fun method() = "something"
into something like this
annotationalias Red = Colour("red")
@Red
fun method() = "something"