getFactoryOrNull

abstract fun getFactoryOrNull(kClass: KClass<*>): ComponentFactory?(source)

Returns a factory which is able to build a component for the given kClass or null in case no factory was found which is able to build a component of the given type.