Minor. Add bytecode listing tests with contains* methods
This commit is contained in:
@@ -0,0 +1,73 @@
|
||||
abstract class A1<Q> : MutableCollection<Q> {
|
||||
override fun contains(o: Q): Boolean {
|
||||
throw UnsupportedOperationException()
|
||||
}
|
||||
|
||||
override fun containsAll(c: Collection<Q>): Boolean {
|
||||
throw UnsupportedOperationException()
|
||||
}
|
||||
}
|
||||
|
||||
abstract class A2 : MutableCollection<String> {
|
||||
override fun contains(o: String): Boolean {
|
||||
throw UnsupportedOperationException()
|
||||
}
|
||||
|
||||
override fun containsAll(c: Collection<String>): Boolean {
|
||||
throw UnsupportedOperationException()
|
||||
}
|
||||
}
|
||||
|
||||
abstract class A3<W> : java.util.AbstractList<W>()
|
||||
abstract class A4<W> : java.util.AbstractList<W>() {
|
||||
override fun contains(o: W): Boolean {
|
||||
throw UnsupportedOperationException()
|
||||
}
|
||||
|
||||
override fun containsAll(c: Collection<W>): Boolean {
|
||||
throw UnsupportedOperationException()
|
||||
}
|
||||
}
|
||||
|
||||
abstract class A5 : java.util.AbstractList<String>()
|
||||
abstract class A6 : java.util.AbstractList<String>() {
|
||||
override fun contains(o: String): Boolean {
|
||||
throw UnsupportedOperationException()
|
||||
}
|
||||
|
||||
override fun containsAll(c: Collection<String>): Boolean {
|
||||
throw UnsupportedOperationException()
|
||||
}
|
||||
}
|
||||
|
||||
interface I1<R> : MutableSet<R> {
|
||||
override fun contains(o: R): Boolean {
|
||||
throw UnsupportedOperationException()
|
||||
}
|
||||
|
||||
override fun containsAll(c: Collection<R>): Boolean {
|
||||
throw UnsupportedOperationException()
|
||||
}
|
||||
}
|
||||
|
||||
interface I2 : MutableSet<String> {
|
||||
override fun contains(o: String): Boolean {
|
||||
throw UnsupportedOperationException()
|
||||
}
|
||||
|
||||
override fun containsAll(c: Collection<String>): Boolean {
|
||||
throw UnsupportedOperationException()
|
||||
}
|
||||
}
|
||||
|
||||
abstract class A7 : MutableCollection<Int> {
|
||||
override fun contains(o: Int): Boolean {
|
||||
throw UnsupportedOperationException()
|
||||
}
|
||||
}
|
||||
|
||||
abstract class A8 : MutableCollection<Any?> {
|
||||
override fun contains(o: Any?): Boolean {
|
||||
throw UnsupportedOperationException()
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,104 @@
|
||||
@kotlin.jvm.internal.KotlinClass A1 {
|
||||
public method <init>(): void
|
||||
public method contains(p0: java.lang.Object): boolean
|
||||
public method containsAll(@org.jetbrains.annotations.NotNull p0: java.util.Collection): boolean
|
||||
public abstract method getSize(): int
|
||||
public final method size(): int
|
||||
public method toArray(): java.lang.Object[]
|
||||
public method toArray(p0: java.lang.Object[]): java.lang.Object[]
|
||||
}
|
||||
|
||||
@kotlin.jvm.internal.KotlinClass A2 {
|
||||
public method <init>(): void
|
||||
public method contains(@org.jetbrains.annotations.NotNull p0: java.lang.String): boolean
|
||||
public final method contains(p0: java.lang.Object): boolean
|
||||
public method containsAll(@org.jetbrains.annotations.NotNull p0: java.util.Collection): boolean
|
||||
public abstract method getSize(): int
|
||||
public final method size(): int
|
||||
public method toArray(): java.lang.Object[]
|
||||
public method toArray(p0: java.lang.Object[]): java.lang.Object[]
|
||||
}
|
||||
|
||||
@kotlin.jvm.internal.KotlinClass A3 {
|
||||
public method <init>(): void
|
||||
public abstract method getSize(): int
|
||||
public final method remove(p0: int): java.lang.Object
|
||||
public synthetic method removeAt(p0: int): java.lang.Object
|
||||
public final method size(): int
|
||||
}
|
||||
|
||||
@kotlin.jvm.internal.KotlinClass A4 {
|
||||
public method <init>(): void
|
||||
public method contains(p0: java.lang.Object): boolean
|
||||
public method containsAll(@org.jetbrains.annotations.NotNull p0: java.util.Collection): boolean
|
||||
public abstract method getSize(): int
|
||||
public final method remove(p0: int): java.lang.Object
|
||||
public synthetic method removeAt(p0: int): java.lang.Object
|
||||
public final method size(): int
|
||||
}
|
||||
|
||||
@kotlin.jvm.internal.KotlinClass A5 {
|
||||
public method <init>(): void
|
||||
public abstract method getSize(): int
|
||||
public final method remove(p0: int): java.lang.String
|
||||
public synthetic method removeAt(p0: int): java.lang.String
|
||||
public final method size(): int
|
||||
}
|
||||
|
||||
@kotlin.jvm.internal.KotlinClass A6 {
|
||||
public method <init>(): void
|
||||
public method contains(@org.jetbrains.annotations.NotNull p0: java.lang.String): boolean
|
||||
public final method contains(p0: java.lang.Object): boolean
|
||||
public method containsAll(@org.jetbrains.annotations.NotNull p0: java.util.Collection): boolean
|
||||
public abstract method getSize(): int
|
||||
public final method remove(p0: int): java.lang.String
|
||||
public synthetic method removeAt(p0: int): java.lang.String
|
||||
public final method size(): int
|
||||
}
|
||||
|
||||
@kotlin.jvm.internal.KotlinClass A7 {
|
||||
public method <init>(): void
|
||||
public method contains(p0: int): boolean
|
||||
public final method contains(p0: java.lang.Object): boolean
|
||||
public abstract method getSize(): int
|
||||
public final method size(): int
|
||||
public method toArray(): java.lang.Object[]
|
||||
public method toArray(p0: java.lang.Object[]): java.lang.Object[]
|
||||
}
|
||||
|
||||
@kotlin.jvm.internal.KotlinClass A8 {
|
||||
public method <init>(): void
|
||||
public method contains(@org.jetbrains.annotations.Nullable p0: java.lang.Object): boolean
|
||||
public abstract method getSize(): int
|
||||
public final method size(): int
|
||||
public method toArray(): java.lang.Object[]
|
||||
public method toArray(p0: java.lang.Object[]): java.lang.Object[]
|
||||
}
|
||||
|
||||
@kotlin.jvm.internal.KotlinInterfaceDefaultImpls @kotlin.jvm.internal.KotlinSyntheticClass I1$DefaultImpls {
|
||||
inner class I1$DefaultImpls
|
||||
public method contains(p0: I1, p1: java.lang.Object): boolean
|
||||
public method containsAll(@org.jetbrains.annotations.NotNull p0: I1, p1: java.util.Collection): boolean
|
||||
}
|
||||
|
||||
@kotlin.jvm.internal.KotlinClass I1 {
|
||||
inner class I1$DefaultImpls
|
||||
public abstract method contains(p0: java.lang.Object): boolean
|
||||
public abstract method containsAll(@org.jetbrains.annotations.NotNull p0: java.util.Collection): boolean
|
||||
public abstract method toArray(): java.lang.Object[]
|
||||
public abstract method toArray(p0: java.lang.Object[]): java.lang.Object[]
|
||||
}
|
||||
|
||||
@kotlin.jvm.internal.KotlinInterfaceDefaultImpls @kotlin.jvm.internal.KotlinSyntheticClass I2$DefaultImpls {
|
||||
inner class I2$DefaultImpls
|
||||
public method contains(@org.jetbrains.annotations.NotNull p0: I2, p1: java.lang.String): boolean
|
||||
public method containsAll(@org.jetbrains.annotations.NotNull p0: I2, p1: java.util.Collection): boolean
|
||||
}
|
||||
|
||||
@kotlin.jvm.internal.KotlinClass I2 {
|
||||
inner class I2$DefaultImpls
|
||||
public abstract method contains(@org.jetbrains.annotations.NotNull p0: java.lang.String): boolean
|
||||
public abstract method containsAll(@org.jetbrains.annotations.NotNull p0: java.util.Collection): boolean
|
||||
public abstract method toArray(): java.lang.Object[]
|
||||
public abstract method toArray(p0: java.lang.Object[]): java.lang.Object[]
|
||||
}
|
||||
Reference in New Issue
Block a user