59f192ef90
Includes changes to decompiled text Old syntax is used in builtins and project code for now
11 lines
308 B
Kotlin
11 lines
308 B
Kotlin
import java.lang.reflect.Constructor
|
|
|
|
class X {
|
|
default object {
|
|
throws(javaClass<Exception>())
|
|
fun <T> foo(constructor: Constructor<T>, args1: Array<Any>, args2: Array<Any>) {
|
|
constructor.newInstance(*args1)
|
|
constructor.newInstance(args1, args2)
|
|
}
|
|
}
|
|
} |