mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-08 15:53:19 +00:00
Currently only those that override special builtin properties (e.g. `Collection.size`) Their modality is defined by method's modality
13 lines
233 B
Kotlin
Vendored
13 lines
233 B
Kotlin
Vendored
// FULL_JDK
|
|
package test
|
|
|
|
import java.util.AbstractList
|
|
|
|
public open class ModalityOfFakeOverrides : AbstractList<String>() {
|
|
override fun get(index: Int): String {
|
|
return ""
|
|
}
|
|
|
|
override val size: Int get() = 0
|
|
}
|