android-beans / rocks.frieler.android.beans / HierarchicalBeansProvider / lookUpBeans

lookUpBeans

fun <T : Any> lookUpBeans(type: KClass<T>): List<T>

Overrides BeansProvider.lookUpBeans

Looks up all beans of the given type locally and in the parent.

Parameters

type - the type of the desired beans

Parameters

Return
the beans of the given type or an empty list