f39c3041d2
Annotation with a parameter that is not stored doesn't make any sense
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
|
|
}
|