jlleitschuh
10/03/2017, 10:09 PMinterface SwitchMessageConverterKotlin<T> {
val supportedType: Class<T>
get() = supportedKlass.java
val supportedKlass: KClass<T> // Anyone know why the compiler complains about this `T`?
}
ilya.gorbunov
10/04/2017, 4:31 AMKClass
is constrained to be non-nullable type.
You need to add constraint T : Any