Package io.micronaut.core.type
Interface TypeVariableResolver
- All Known Subinterfaces:
Argument<T>
,ArgumentConversionContext<T>
,ArgumentValue<V>
,ConversionContext
,GenericPlaceholder<T>
,ImmutableArgumentConversionContext<T>
,MutableArgumentValue<V>
,ReturnType<T>
,TypeInformation<T>
- All Known Implementing Classes:
ArgumentBeanType
,DefaultArgument
,GenericArgument
public interface TypeVariableResolver
An interface for types that hold and can resolve type variables.
- Since:
- 1.0
- Author:
- Graeme Rocher
-
Method Summary
-
Method Details
-
getTypeVariables
- Returns:
- Obtain a map of the type parameters for the argument
-
getTypeParameters
- Returns:
- The type parameters as an array
-
getFirstTypeVariable
- Returns:
- Return the first type parameter if it is present
-
getTypeVariable
- Parameters:
name
- The name- Returns:
- Return the first type parameter if it is present
-