Files
aleksandrina-streltsova d2e2407a52 [kotlin] K2: align rendering of texts for members to override with K1 and update testdata
Currently, the only inconsistencies between K1 and K2 left are:
- in K2 method type arguments are rendered
- in K2 denotable types are rendered (they match the types that are generated when the method is chosen)
- in K2 receiver parameters are rendered
- the names of synthesized parameters

^KTIJ-30739 Fixed

GitOrigin-RevId: 6aad4719b5bd7d40efaba8eb1fe10a57b8f9fdb1
2024-07-29 10:03:19 +00:00

69 lines
3.1 KiB
Kotlin

// FIR_IDENTICAL
abstract class X : java.util.ArrayList<String>(), Runnable {
<caret>
}
// MEMBER_K2: "add(p0: String): Boolean"
// MEMBER_K2: "add(p0: Int, p1: String): Unit"
// MEMBER_K2: "addAll(p0: Collection<out String>): Boolean"
// MEMBER_K2: "addAll(p0: Int, p1: Collection<out String>): Boolean"
// MEMBER_K2: "remove(p0: String): Boolean"
// MEMBER_K2: "removeAll(p0: Collection<String>): Boolean"
// MEMBER_K2: "retainAll(p0: Collection<String>): Boolean"
// MEMBER_K2: "contains(p0: String): Boolean"
// MEMBER_K2: "containsAll(p0: Collection<String>): Boolean"
// MEMBER_K2: "forEach(p0: Consumer<in String>?): Unit"
// MEMBER_K2: "spliterator(): Spliterator<String?>"
// MEMBER_K2: "toArray(): Array<out Any?>"
// MEMBER_K2: "<T : Any?> toArray(p0: Array<out T?>): Array<out T?>"
// MEMBER_K2: "removeIf(p0: Predicate<in String>): Boolean"
// MEMBER_K2: "stream(): Stream<String?>"
// MEMBER_K2: "parallelStream(): Stream<String?>"
// MEMBER_K2: "equals(p0: Any?): Boolean"
// MEMBER_K2: "listIterator(p0: Int): MutableListIterator<String>"
// MEMBER_K2: "set(p0: Int, p1: String): String"
// MEMBER_K2: "subList(p0: Int, p1: Int): MutableList<String>"
// MEMBER_K2: "get(p0: Int): String"
// MEMBER_K2: "indexOf(p0: String): Int"
// MEMBER_K2: "lastIndexOf(p0: String): Int"
// MEMBER_K2: "sort(p0: Comparator<in String>?): Unit"
// MEMBER_K1: "add(element: String): Boolean"
// MEMBER_K1: "add(index: Int, element: String): Unit"
// MEMBER_K1: "addAll(elements: Collection<String>): Boolean"
// MEMBER_K1: "addAll(index: Int, elements: Collection<String>): Boolean"
// MEMBER_K1: "remove(element: String): Boolean"
// MEMBER_K1: "removeAll(elements: Collection<String>): Boolean"
// MEMBER_K1: "retainAll(elements: Collection<String>): Boolean"
// MEMBER_K1: "contains(element: String): Boolean"
// MEMBER_K1: "containsAll(elements: Collection<String!>): Boolean"
// MEMBER_K1: "forEach(p0: Consumer<in String!>!): Unit"
// MEMBER_K1: "spliterator(): Spliterator<String!>"
// MEMBER_K1: "toArray(): Array<(out) Any!>!"
// MEMBER_K1: "toArray(p0: Array<(out) T!>!): Array<(out) T!>!"
// MEMBER_K1: "removeIf(p0: Predicate<in String>): Boolean"
// MEMBER_K1: "stream(): Stream<String!>"
// MEMBER_K1: "parallelStream(): Stream<String!>"
// MEMBER_K1: "equals(other: Any?): Boolean"
// MEMBER_K1: "listIterator(index: Int): MutableListIterator<String>"
// MEMBER_K1: "set(index: Int, element: String): String"
// MEMBER_K1: "subList(fromIndex: Int, toIndex: Int): MutableList<String>"
// MEMBER_K1: "get(index: Int): String"
// MEMBER_K1: "indexOf(element: String): Int"
// MEMBER_K1: "lastIndexOf(element: String): Int"
// MEMBER_K1: "sort(p0: Comparator<in String!>!): Unit"
// MEMBER: "clear(): Unit"
// MEMBER: "iterator(): MutableIterator<String>"
// MEMBER: "isEmpty(): Boolean"
// MEMBER: "hashCode(): Int"
// MEMBER: "toString(): String"
// MEMBER: "listIterator(): MutableListIterator<String>"
// MEMBER: "removeAt(p0: Int): String"
// MEMBER: "replaceAll(p0: UnaryOperator<String>): Unit"
// MEMBER: "removeRange(p0: Int, p1: Int): Unit"
// MEMBER: "clone(): Any"
// MEMBER: "trimToSize(): Unit"
// MEMBER: "ensureCapacity(p0: Int): Unit"
// MEMBER: "size: Int"
// MEMBER: "run(): Unit"