mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-11 15:53:46 +00:00
10 lines
179 B
Kotlin
Vendored
10 lines
179 B
Kotlin
Vendored
// "Add annotation target" "true"
|
|
|
|
@Target(AnnotationTarget.CLASS, AnnotationTarget.FUNCTION)
|
|
annotation class Foo
|
|
|
|
@Foo
|
|
class Test {
|
|
@Foo
|
|
fun foo(): <caret>@Foo Int = 1
|
|
} |