is there any reason Kotlin doesn’t allow a body in...
# language-proposals
o
is there any reason Kotlin doesn’t allow a body inside an annotation class?
l
Annotations are annotations, not logic
Annotations can't do more in Java than they can in Kotlin
d
Though you can have inner types or static fields on annotations in Java. I couldn't find an issue for this, so I filed one: https://youtrack.jetbrains.com/issue/KT-16962