17 lines
246 B
Kotlin
Vendored
17 lines
246 B
Kotlin
Vendored
@Retention(AnnotationRetention.BINARY)
|
|
annotation class MyAnnotation
|
|
|
|
interface MyInterface {
|
|
@MyAnnotation
|
|
fun foo() {
|
|
}
|
|
}
|
|
|
|
interface I1 : MyInterface
|
|
|
|
interface I2 : MyInterface {
|
|
override fun foo() {}
|
|
}
|
|
|
|
class MyClass : I1, I2
|