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

lookUpBeans

inline fun <reified T : Any> lookUpBeans(): List<T>

Looks up all beans of the inferred type in the BeansProvider of this application.

Parameters

Return
the beans of the given type or an empty list

See Also

BeansProvider.lookUpBeans

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

Looks up all beans of the given type in the BeansProvider of this application.

Parameters

type - the type of the desired beans

Parameters

Return
the beans of the given type or an empty list

See Also

BeansProvider.lookUpBeans

@JvmStatic fun <T : Any> lookUpBeans(type: Class<T>): List<T>

Looks up all beans of the given type in the BeansProvider of this application.

Parameters

type - the type of the desired beans

Parameters

Return
the beans of the given type or an empty list

See Also

lookUpBeans