Approximating flexible types in decompiled text
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
// IntelliJ API Decompiler stub source generated from a class file
|
||||
// Implementation of methods is not available
|
||||
|
||||
package test
|
||||
|
||||
internal abstract class FlexibleTypes() {
|
||||
internal abstract val p: kotlin.Int? /* platform type */
|
||||
|
||||
internal abstract fun collection(): kotlin.List<kotlin.Any> /* platform type */
|
||||
|
||||
internal final fun withBody(): kotlin.Int? /* platform type */ { /* compiled code */ }
|
||||
}
|
||||
@@ -0,0 +1,11 @@
|
||||
package test
|
||||
|
||||
import kotlin.internal.flexible.ft
|
||||
|
||||
abstract class FlexibleTypes() {
|
||||
abstract fun collection(): ft<List<Int>, List<Any>>
|
||||
|
||||
abstract val p: ft<Int, Int?>
|
||||
|
||||
fun withBody(): ft<Int, Int?> { return 1 }
|
||||
}
|
||||
@@ -0,0 +1,3 @@
|
||||
package kotlin.internal.flexible
|
||||
|
||||
class ft<L, U>
|
||||
Reference in New Issue
Block a user