If I want to use Spring retry in Java I do this, with "@BackOff". If I paste the same annotation on a Kotlin function it complains about the @ sign with "an annotation can't be used as the annotations argument, so I have to remove the @ sign which is what also happens if I convert the Java to Kotlin
Why is this and will the Kotlin work without the @ sign ?
Kotlin: