Files
kotlin/plugins/annotation-processing/testData/elements/Overrides.kt
Yan Zhulanow c6c1673902 Kapt: load all annotations, even if annotation processors does not require it explicitly. Some annotation processors may want to process some more annotations (see DbFlow, Database annotation).
Blacklist some common-used Java and Kotlin annotations instead (like Deprecated, Nullable or Metadata).
(cherry picked from commit 6856a7c)
2016-09-10 17:36:15 +03:00

18 lines
295 B
Kotlin
Vendored

annotation class Anno
@Anno
open class Parent {
open fun a() {}
}
open class Child : Parent() {
override fun a() {}
fun a(name: String) {}
open fun b() = "A"
}
class ChildOfChild : Child() {
override fun a() {}
override fun b() = "B"
fun a(name: CharSequence) {}
}