Load annotations on constructors and parameters of Kotlin reflected classes
This commit is contained in:
@@ -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()
|
||||
}
|
||||
Reference in New Issue
Block a user