mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-09 08:31:29 +00:00
15 lines
313 B
Kotlin
Vendored
15 lines
313 B
Kotlin
Vendored
//ALLOW_AST_ACCESS
|
|
package test
|
|
|
|
import java.lang.annotation.ElementType
|
|
|
|
annotation class Anno(val t: ElementType)
|
|
|
|
@Anno(ElementType.METHOD) class Class {
|
|
@Anno(ElementType.PARAMETER) inner class Inner
|
|
|
|
@Anno(ElementType.TYPE) class Nested
|
|
|
|
@Anno(ElementType.ANNOTATION_TYPE) companion object
|
|
}
|