mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-09 08:31:29 +00:00
Blacklist some common-used Java and Kotlin annotations instead (like Deprecated, Nullable or Metadata).
(cherry picked from commit 6856a7c)
25 lines
271 B
Kotlin
Vendored
25 lines
271 B
Kotlin
Vendored
annotation class Anno
|
|
|
|
@Anno
|
|
class A {
|
|
interface AA {
|
|
fun onClick(o: Any)
|
|
}
|
|
}
|
|
|
|
enum class B { RED }
|
|
|
|
interface C {
|
|
fun onClick()
|
|
}
|
|
|
|
interface D {
|
|
fun onClick()
|
|
fun onDoubleClick()
|
|
}
|
|
|
|
interface E : C
|
|
|
|
interface F : C {
|
|
fun onDoubleClick()
|
|
} |