2e5b783cc6
Previously, the semantic was more-or-less correct for most of the cases but some corner one, like `sort` in MutableList didn't work properly. Namely, `sort` should be marked there in a way to forbid to call it everywhere beside super-calls. Also, overriding it should be allowed. Mostly, the logic was re-written to K2 model from K1-related JvmBuiltInsCustomizer. ^KT-57694 In progress ^KT-57269 Fixed
22 lines
712 B
Kotlin
Vendored
22 lines
712 B
Kotlin
Vendored
// FULL_JDK
|
|
|
|
class DStringIterator(d: Iterator<String>) : Iterator<String> by d
|
|
|
|
class DStringListIterator(d: ListIterator<String>) : ListIterator<String> by d
|
|
|
|
class DStringIterable(d: Iterable<String>) : Iterable<String> by d
|
|
|
|
class DStringCollection(d: Collection<String>) : Collection<String> by d
|
|
|
|
class DStringSet(d: Set<String>) : Set<String> by d
|
|
|
|
class DStringList(d: List<String>) : List<String> by d
|
|
|
|
class DStringMap(d: Map<String, Number>) : Map<String, Number> by d
|
|
|
|
class DStringMapEntry(d: Map.Entry<String, Number>) : Map.Entry<String, Number> by d
|
|
|
|
class DStringCollectionBySet(d: Set<String>) : Collection<String> by d
|
|
|
|
class DStringCollectionByList(d: List<String>) : Collection<String> by d
|