Modifier and Type | Field and Description |
---|---|
static AnyQualifier |
INSTANCE |
Modifier and Type | Method and Description |
---|---|
boolean |
contains(Qualifier<T> qualifier)
Whether this qualifier contains the given qualifier.
|
<BT extends BeanType<T>> |
qualify(Class<T> beanType,
Stream<BT> candidates)
Qualify the candidate from the stream of candidates.
|
<BT extends BeanType<T>> |
reduce(Class<T> beanType,
Stream<BT> candidates) |
String |
toString() |
public static final AnyQualifier INSTANCE
public boolean contains(Qualifier<T> qualifier)
Qualifier
public <BT extends BeanType<T>> Optional<BT> qualify(Class<T> beanType, Stream<BT> candidates)
Qualifier
qualify
in interface Qualifier<T>
BT
- The bean type subclassbeanType
- The bean typecandidates
- The candidatesOptional.empty()