Kapt: Support @Deprecated annotations (KT-30368)

This commit is contained in:
Yan Zhulanow
2019-04-25 23:27:34 +03:00
parent 1309c0c67a
commit 9edd4554a9
15 changed files with 100 additions and 0 deletions
@@ -0,0 +1,18 @@
package deprecated
@Deprecated("Deprecated annotation")
annotation class Anno
@Deprecated("Deprecated class")
@Anno
class Foo {
@Deprecated("Deprecated function")
fun foo(a: Int) {}
@Deprecated("Deprecated property")
val prop = 0
var foo: Int
@Deprecated("Deprecated getter") get() = 0
@Deprecated("Deprecated setter") set(value) {}
}