Load annotations on constructors and parameters of Kotlin reflected classes

This commit is contained in:
Alexander Udalov
2015-03-02 13:33:38 +03:00
parent 4fb420f3f1
commit 1054f004aa
8 changed files with 111 additions and 11 deletions
@@ -0,0 +1,6 @@
//ALLOW_AST_ACCESS
package test
annotation class Anno(val value: String)
class Constructor [Anno(value = "string")]()
@@ -0,0 +1,11 @@
package test
internal final annotation class Anno : kotlin.Annotation {
/*primary*/ public constructor Anno(/*0*/ value: kotlin.String)
internal final val value: kotlin.String
internal final fun <get-value>(): kotlin.String
}
internal final class Constructor {
/*primary*/ test.Anno(value = "string": kotlin.String) public constructor Constructor()
}