Deserialize annotations from package$src files if needed

For top-level members, we now write a FQ name of the package$src class which
has the member's annotations, and read the correct file in deserialization
This commit is contained in:
Alexander Udalov
2013-07-15 19:38:49 +04:00
parent e63a087ee5
commit cfe9d78015
16 changed files with 181 additions and 13 deletions
@@ -0,0 +1,5 @@
package test
annotation class Anno
[Anno] var property: Int = 42
@@ -0,0 +1,9 @@
package test
test.Anno() internal var property: jet.Int
internal fun <get-property>(): jet.Int
internal fun <set-property>(/*0*/ <set-?>: jet.Int): jet.Unit
internal final annotation class Anno : jet.Annotation {
/*primary*/ public constructor Anno()
}
@@ -0,0 +1,6 @@
package test
annotation class Anno
[Anno] val property: Int
get() = 42
@@ -0,0 +1,8 @@
package test
test.Anno() internal val property: jet.Int
internal fun <get-property>(): jet.Int
internal final annotation class Anno : jet.Annotation {
/*primary*/ public constructor Anno()
}