Package io.micronaut.inject.qualifiers
Class AnyQualifier<T>
java.lang.Object
io.micronaut.inject.qualifiers.AnyQualifier<T>
- Type Parameters:
T
- The generic type
- All Implemented Interfaces:
Qualifier<T>
A qualifier to lookup any type.
- Since:
- 3.0.0
-
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
Whether this qualifier contains the given qualifier.Qualify the candidate from the stream of candidates.toString()
-
Field Details
-
INSTANCE
-
-
Method Details
-
reduce
-
contains
Description copied from interface:Qualifier
Whether this qualifier contains the given qualifier. -
qualify
Description copied from interface:Qualifier
Qualify the candidate from the stream of candidates.- Specified by:
qualify
in interfaceQualifier<T>
- Type Parameters:
BT
- The bean type subclass- Parameters:
beanType
- The bean typecandidates
- The candidates- Returns:
- The qualified candidate or
Optional.empty()
-
toString
-