e6f4d6e6fa
^KT-65406
84 lines
1.3 KiB
Kotlin
Vendored
84 lines
1.3 KiB
Kotlin
Vendored
open annotation class TestAnn : Annotation {
|
|
val x: String
|
|
field = x
|
|
get
|
|
|
|
constructor(x: String) /* primary */ {
|
|
super/*Any*/()
|
|
/* <init>() */
|
|
|
|
}
|
|
|
|
}
|
|
|
|
@TestAnn(x = "annotation")
|
|
open annotation class TestAnnotation : Annotation {
|
|
constructor() /* primary */ {
|
|
super/*Any*/()
|
|
/* <init>() */
|
|
|
|
}
|
|
|
|
}
|
|
|
|
class Host {
|
|
@TestAnn(x = "companion")
|
|
companion object TestCompanion {
|
|
private constructor() /* primary */ {
|
|
super/*Any*/()
|
|
/* <init>() */
|
|
|
|
}
|
|
|
|
}
|
|
|
|
constructor() /* primary */ {
|
|
super/*Any*/()
|
|
/* <init>() */
|
|
|
|
}
|
|
|
|
}
|
|
|
|
@TestAnn(x = "class")
|
|
class TestClass {
|
|
constructor() /* primary */ {
|
|
super/*Any*/()
|
|
/* <init>() */
|
|
|
|
}
|
|
|
|
}
|
|
|
|
@TestAnn(x = "enum")
|
|
enum class TestEnum : Enum<TestEnum> {
|
|
private constructor() /* primary */ {
|
|
super/*Enum*/<TestEnum>()
|
|
/* <init>() */
|
|
|
|
}
|
|
|
|
fun valueOf(value: String): TestEnum /* Synthetic body for ENUM_VALUEOF */
|
|
|
|
fun values(): Array<TestEnum> /* Synthetic body for ENUM_VALUES */
|
|
|
|
val entries: EnumEntries<TestEnum>
|
|
get(): EnumEntries<TestEnum> /* Synthetic body for ENUM_ENTRIES */
|
|
|
|
}
|
|
|
|
@TestAnn(x = "interface")
|
|
interface TestInterface {
|
|
}
|
|
|
|
@TestAnn(x = "object")
|
|
object TestObject {
|
|
private constructor() /* primary */ {
|
|
super/*Any*/()
|
|
/* <init>() */
|
|
|
|
}
|
|
|
|
}
|
|
|