mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-09 08:31:29 +00:00
15 lines
305 B
Kotlin
15 lines
305 B
Kotlin
//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) class object
|
|
}
|