17 lines
270 B
Kotlin
Vendored
17 lines
270 B
Kotlin
Vendored
abstract class C<R : Any?> : Java1<R>, KotlinInterface<R> {
|
|
constructor() /* primary */ {
|
|
super/*Java1*/<@FlexibleNullability R?>()
|
|
/* <init>() */
|
|
|
|
}
|
|
|
|
}
|
|
|
|
interface KotlinInterface<T : Any?> {
|
|
abstract fun bar(): ArrayList<Int>
|
|
|
|
abstract fun foo(): T
|
|
|
|
}
|
|
|