Package oracle.dbtools.plugin.api.types
Interface TypeLocator
- All Known Implementing Classes:
TypeReflections
public interface TypeLocator
Service for selecting
TypeReflection instances- Since:
- 19.3.0
- Author:
- cdivilly
-
Method Summary
Modifier and TypeMethodDescriptiondefault <T> TypeReflection<T>Find match for the specified typedefault <T> TypeReflection<T>Synonym forforType(Class)<T> Set<TypeReflection<? extends T>>selectType(TypeQualifier<T> service) Choose theTypeReflections that matches the specified criteria
-
Method Details
-
forType
Find match for the specified type- Type Parameters:
T- The type of the service- Parameters:
type- The type to search for- Returns:
TypeReflectioninstance- Throws:
IllegalArgumentException- if the specified type is not part of this set
-
get
Synonym forforType(Class)- Type Parameters:
T- The type of the service- Parameters:
type- The type to search for- Returns:
TypeReflectioninstance- Throws:
IllegalArgumentException- if the specified type is not part of this set
-
selectType
Choose theTypeReflections that matches the specified criteria- Type Parameters:
T- The type of the service to find- Parameters:
service- The qualifiers on the service- Returns:
Setof matchingTypeReflectioninstances
-