I try to use the next method:
fun <T> put(value: T){
val clazz = T::class.java
}
but has exception Kotlin: Only classes are allowed on the left hand side of a class literal
How obtain class from generic param?
What are other options except class can be passed as param?