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
Fields -
Method Summary
Modifier and TypeMethodDescriptionbooleanWhether 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:QualifierWhether this qualifier contains the given qualifier. -
qualify
Description copied from interface:QualifierQualify the candidate from the stream of candidates.- Specified by:
qualifyin interfaceQualifier<T>- Type Parameters:
BT- The bean type subclass- Parameters:
beanType- The bean typecandidates- The candidates- Returns:
- The qualified candidate or
Optional.empty()
-
toString
-