FIC: support fun interfaces in stub builder
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
// IntelliJ API Decompiler stub source generated from a class file
|
||||
// Implementation of methods is not available
|
||||
|
||||
package test
|
||||
|
||||
public final class FunInterfaceDeclaration public constructor() {
|
||||
public fun interface GenericKRunnable<T, R> {
|
||||
public abstract fun invoke(t: T): R
|
||||
}
|
||||
|
||||
public fun interface KRunnable {
|
||||
public abstract fun invoke(): kotlin.Unit
|
||||
}
|
||||
}
|
||||
+13
@@ -0,0 +1,13 @@
|
||||
package test
|
||||
|
||||
class FunInterfaceDeclaration {
|
||||
@Suppress("UNSUPPORTED_FEATURE")
|
||||
fun interface KRunnable {
|
||||
fun invoke()
|
||||
}
|
||||
|
||||
@Suppress("UNSUPPORTED_FEATURE")
|
||||
fun interface GenericKRunnable<T, R> {
|
||||
fun invoke(t: T): R
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user