mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-12 00:21:32 +00:00
10 lines
195 B
Plaintext
Vendored
10 lines
195 B
Plaintext
Vendored
// "Add annotation target" "true"
|
|
|
|
@Target(AnnotationTarget.CLASS, AnnotationTarget.FUNCTION, AnnotationTarget.TYPE)
|
|
annotation class Foo
|
|
|
|
@Foo
|
|
class Test {
|
|
@Foo
|
|
fun foo(): @Foo Int = 1
|
|
} |