mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-17 15:54:03 +00:00
Blacklist some common-used Java and Kotlin annotations instead (like Deprecated, Nullable or Metadata).
(cherry picked from commit 6856a7c)
14 lines
146 B
Kotlin
Vendored
14 lines
146 B
Kotlin
Vendored
annotation class Anno
|
|
|
|
@Anno
|
|
interface Intf {
|
|
fun a()
|
|
}
|
|
|
|
open class A {
|
|
open fun a() {}
|
|
}
|
|
|
|
class B : A(), Intf {
|
|
override fun a() {}
|
|
} |