I want to have Kotlin class with constructor and get another class as parameter like this.
class LogHelper(cls : class) { } I had the same class in java and I didn't have any problem with it.
public LogHelper(Class cls) { LOG_TAG = cls.getSimpleName(); }
classis a keyword,Classis a Java class. Class names typically start with a capital letter even in Kotlin.