findAllComponents

fun findAllComponents(vararg clazz: KClass<out Component>): List<Component>
fun findAllComponents(vararg clazz: Class<out Component?>): List<Component>

Returns a list of all components of the given classes from the ComponentTree or an empty list if not found