Kapt: Support inherited annotations

(cherry picked from commit 02a3e6b)
This commit is contained in:
Yan Zhulanow
2016-08-09 21:24:52 +03:00
committed by Yan Zhulanow
parent 9d340e1b83
commit 8c4fb0a709
14 changed files with 105 additions and 46 deletions
@@ -0,0 +1,12 @@
@java.lang.annotation.Inherited
annotation class Anno
@Anno
open class Base
class Impl : Base()
@Anno
interface Intf
class IntfImpl : Intf
@@ -0,0 +1,9 @@
@Repeatable
@java.lang.annotation.Inherited
annotation class Anno(val name: String)
@Anno("Mary")
open class Base
@Anno("Tom")
class Impl : Base()