e6f4d6e6fa
^KT-65406
41 lines
600 B
Kotlin
Vendored
41 lines
600 B
Kotlin
Vendored
open annotation class State : Annotation {
|
|
val name: String
|
|
field = name
|
|
get
|
|
|
|
val storages: Array<Storage>
|
|
field = storages
|
|
get
|
|
|
|
constructor(name: String, storages: Array<Storage>) /* primary */ {
|
|
super/*Any*/()
|
|
/* <init>() */
|
|
|
|
}
|
|
|
|
}
|
|
|
|
open annotation class Storage : Annotation {
|
|
val value: String
|
|
field = value
|
|
get
|
|
|
|
constructor(value: String) /* primary */ {
|
|
super/*Any*/()
|
|
/* <init>() */
|
|
|
|
}
|
|
|
|
}
|
|
|
|
@State(name = "1", storages = [Storage(value = "HELLO")])
|
|
class Test {
|
|
constructor() /* primary */ {
|
|
super/*Any*/()
|
|
/* <init>() */
|
|
|
|
}
|
|
|
|
}
|
|
|