mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-16 15:53:55 +00:00
7 lines
174 B
Kotlin
7 lines
174 B
Kotlin
import java.lang.annotation.*
|
|
|
|
Retention(RetentionPolicy.RUNTIME) annotation class SomeAnnotation(val value: String)
|
|
|
|
[SomeAnnotation("OK")] val property: Int
|
|
get() = 42
|