qualify

inline fun <T, BT : BeanType<T>> Qualifier<T>.qualify(candidates: Stream<BT>): BT?

Extension for Qualifier.qualify providing a qualify<Foo>(candidates) variant.

Return

The qualified candidate or null

Author

Alejandro Gomez

Since

1.0.0

Parameters

T

The bean type

BT

The bean type subclass

candidates

The candidates