Class

fun Class(fqName: FqName): ClassRef

Create a ClassRef from a FqName. No parent is used.


fun Class(ref: KClass<*>): ClassRef

Create a ClassRef from a class reference. ref must be a literal, it can not be a variable.


fun Namespace.Class(name: String): ClassRef

Create a ClassRef with the given name, with the current Namespace as its parent.


fun Namespace.Class(): PropertyDelegateProvider<Any?, ClassRef>

Create a ClassRef with the property's name, with the current Namespace as its parent.