mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-08 15:53:19 +00:00
Use PlatformDependent annotation to guarantee it's only be available for JDK8 Also adjust type-safe bridges and mutable collection stubs generation
12 lines
268 B
Kotlin
Vendored
12 lines
268 B
Kotlin
Vendored
abstract class A8 : MutableCollection<Any> {
|
|
override fun contains(o: Any): Boolean {
|
|
throw UnsupportedOperationException()
|
|
}
|
|
}
|
|
|
|
// 1 bridge
|
|
// 1 public final bridge size
|
|
// 0 INSTANCEOF
|
|
/* Only 1 IFNULL should be within contains method */
|
|
// 1 IFNULL
|