Deserialize annotations on property accessors

This commit is contained in:
Alexander Udalov
2013-07-11 18:29:03 +04:00
parent 453b0e8f10
commit 23378f0054
14 changed files with 189 additions and 5 deletions
@@ -0,0 +1,6 @@
package test
annotation class Anno
val property: Int
[Anno] get() = 42
@@ -0,0 +1,8 @@
package test
internal val property: jet.Int
test.Anno() internal fun <get-property>(): jet.Int
internal final annotation class Anno : jet.Annotation {
/*primary*/ public constructor Anno()
}
@@ -0,0 +1,6 @@
package test
annotation class Anno
var property: Int = 42
[Anno] set(value) { }
@@ -0,0 +1,9 @@
package test
internal var property: jet.Int
internal fun <get-property>(): jet.Int
test.Anno() internal fun <set-property>(/*0*/ value: jet.Int): jet.Unit
internal final annotation class Anno : jet.Annotation {
/*primary*/ public constructor Anno()
}