withInterfaceKClass
fun <T : Any> withInterfaceKClass(target: KClass<T>, filter: ClassInfo.() -> Boolean = { true }): Sequence<KClass<T>>
Return
A Sequence of all the classes that implement the given interface.
Parameters
target
The target interface.
filter
A filter to refine the resulting set.
inline fun <T : Any> withInterfaceKClass(noinline filter: ClassInfo.() -> Boolean = { true }): Sequence<KClass<T>>
Return
A Sequence of all the classes that implement the given interface.
Parameters
T
The reified type of the interface.
filter
A filter to refine the resulting set.