Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
This gist is part of meta-programming with kotlin articles
// Declare Annotation in Kotlin
@Target(AnnotationTarget.CLASS, AnnotationTarget.FUNCTION)
@Retention(AnnotationRetention.SOURCE)
@Repeatable
annotation class HelloWorldAnnotation
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment