docs
4.12
customSourceSet
docs
/
net.corda.core.internal
/
objectOrNewInstance
object
Or
New
Instance
fun
<
T
:
Any
>
KClass
<
T
>
.
objectOrNewInstance
(
)
:
T
creates a new instance if not a Kotlin object