Kapt: Support inherited annotations
(cherry picked from commit 02a3e6b)
This commit is contained in:
committed by
Yan Zhulanow
parent
9d340e1b83
commit
8c4fb0a709
@@ -0,0 +1,12 @@
|
||||
@java.lang.annotation.Inherited
|
||||
annotation class Anno
|
||||
|
||||
@Anno
|
||||
open class Base
|
||||
|
||||
class Impl : Base()
|
||||
|
||||
@Anno
|
||||
interface Intf
|
||||
|
||||
class IntfImpl : Intf
|
||||
+9
@@ -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()
|
||||
Reference in New Issue
Block a user