getOrNull

abstract fun getOrNull(className: String): ClassReference?

Returns the class definition for the given class name, or null if none exists.