13 lines
312 B
Kotlin
Vendored
13 lines
312 B
Kotlin
Vendored
abstract class A<T : Any> : MutableCollection<T> {
|
|
override fun contains(o: T): Boolean {
|
|
throw UnsupportedOperationException()
|
|
}
|
|
}
|
|
|
|
// 1 bridge
|
|
// 1 public final bridge size
|
|
// 0 INSTANCEOF
|
|
|
|
/* Only 1 null check should be within the contains method (because T is not nullable) */
|
|
// 1 IFNONNULL
|