Deserialize annotations on property setter parameters
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
package test
|
||||
|
||||
annotation class A
|
||||
|
||||
class Class {
|
||||
var Int.foo: Int
|
||||
get() = this
|
||||
set([A] value) {}
|
||||
}
|
||||
@@ -0,0 +1,12 @@
|
||||
package test
|
||||
|
||||
internal final annotation class A : jet.Annotation {
|
||||
/*primary*/ public constructor A()
|
||||
}
|
||||
|
||||
internal final class Class {
|
||||
/*primary*/ public constructor Class()
|
||||
internal final var jet.Int.foo: jet.Int
|
||||
internal final fun jet.Int.<get-foo>(): jet.Int
|
||||
internal final fun jet.Int.<set-foo>(/*0*/ test.A() value: jet.Int): jet.Unit
|
||||
}
|
||||
@@ -0,0 +1,9 @@
|
||||
package test
|
||||
|
||||
annotation class A
|
||||
|
||||
class Class {
|
||||
var foo: Int
|
||||
get() = 42
|
||||
set([A] value) {}
|
||||
}
|
||||
@@ -0,0 +1,12 @@
|
||||
package test
|
||||
|
||||
internal final annotation class A : jet.Annotation {
|
||||
/*primary*/ public constructor A()
|
||||
}
|
||||
|
||||
internal final class Class {
|
||||
/*primary*/ public constructor Class()
|
||||
internal final var foo: jet.Int
|
||||
internal final fun <get-foo>(): jet.Int
|
||||
internal final fun <set-foo>(/*0*/ test.A() value: jet.Int): jet.Unit
|
||||
}
|
||||
@@ -0,0 +1,8 @@
|
||||
package test
|
||||
|
||||
annotation class A
|
||||
annotation class B
|
||||
|
||||
var foo: Int
|
||||
get() = 42
|
||||
set([A B] value) {}
|
||||
@@ -0,0 +1,13 @@
|
||||
package test
|
||||
|
||||
internal var foo: jet.Int
|
||||
internal fun <get-foo>(): jet.Int
|
||||
internal fun <set-foo>(/*0*/ test.A() test.B() value: jet.Int): jet.Unit
|
||||
|
||||
internal final annotation class A : jet.Annotation {
|
||||
/*primary*/ public constructor A()
|
||||
}
|
||||
|
||||
internal final annotation class B : jet.Annotation {
|
||||
/*primary*/ public constructor B()
|
||||
}
|
||||
Reference in New Issue
Block a user