public interface TypeLocator
TypeReflection instances| Modifier and Type | Method and Description |
|---|---|
default <T> TypeReflection<T> |
forType(Class<T> type)
Find match for the specified type
|
default <T> TypeReflection<T> |
get(Class<T> type)
Synonym for
forType(Class) |
<T> Set<TypeReflection<? extends T>> |
selectType(TypeQualifier<T> service)
Choose the
TypeReflections that matches the specified criteria |
default <T> TypeReflection<T> forType(Class<T> type) throws IllegalArgumentException
T - The type of the servicetype - The type to search forTypeReflection instanceIllegalArgumentException - if the specified type is not part of this setdefault <T> TypeReflection<T> get(Class<T> type) throws IllegalArgumentException
forType(Class)T - The type of the servicetype - The type to search forTypeReflection instanceIllegalArgumentException - if the specified type is not part of this set<T> Set<TypeReflection<? extends T>> selectType(TypeQualifier<T> service)
TypeReflections that matches the specified criteriaT - The type of the service to findservice - The qualifiers on the serviceSet of matching TypeReflection instances