default -> companion: replace all mentions of default and default object
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
import java.lang.reflect.Constructor
|
||||
|
||||
class X {
|
||||
default object {
|
||||
companion object {
|
||||
throws(javaClass<Exception>())
|
||||
fun <T> foo(constructor: Constructor<T>, args1: Array<Any>, args2: Array<Any>) {
|
||||
constructor.newInstance(*args1)
|
||||
|
||||
Reference in New Issue
Block a user