T
- The concrete typepublic interface ReturnType<T> extends TypeVariableResolver, AnnotationSource
Executable
method in Micronaut.EMPTY
Modifier and Type | Method and Description |
---|---|
default Argument<T> |
asArgument() |
Class<T> |
getType() |
static <T1> ReturnType<T1> |
of(Class<T1> type,
Argument<?>... typeArguments)
Create a new return type from the given type and arguments.
|
getFirstTypeVariable, getTypeParameters, getTypeVariable, getTypeVariables
findAnnotation, findAnnotation, findDeclaredAnnotation, findDeclaredAnnotation, getAnnotation, getAnnotation, getDeclaredAnnotation, getDeclaredAnnotation, isAnnotationPresent, isDeclaredAnnotationPresent, synthesize, synthesizeAll, synthesizeAnnotationsByType, synthesizeDeclared, synthesizeDeclared, synthesizeDeclaredAnnotationsByType
static <T1> ReturnType<T1> of(Class<T1> type, Argument<?>... typeArguments)
T1
- The return typetype
- The typetypeArguments
- The type argumentsReturnType