https://kotlinlang.org logo
#stdlib
Title
i

ilya.gorbunov

12/01/2015, 7:29 PM
Another option is something like ability to specify default value for
KClass<T>
parameter to be
T::class
. This default value could be available when T is known on call-site at compile time, otherwise explicit KClass would be required.