T
- The concrete typepublic interface ReturnType<T> extends TypeInformation<T>, AnnotationMetadataProvider
Executable
method in Micronaut.EMPTY
Modifier and Type | Method and Description |
---|---|
default Argument<T> |
asArgument() |
default boolean |
isSingleResult() |
default boolean |
isSuspended() |
static <T1> ReturnType<T1> |
of(java.lang.Class<T1> type,
Argument<?>... typeArguments)
Create a new return type from the given type and arguments.
|
asParameterizedType, getType, getTypeName, getTypeString, hasTypeVariables, isArray, isAsync, isAsyncOrReactive, isCompletable, isContainerType, isOptional, isReactive, isSpecifiedSingle, isVoid, isWrapperType
getFirstTypeVariable, getTypeParameters, getTypeVariable, getTypeVariables
findAnnotation, findAnnotation, findDeclaredAnnotation, findDeclaredAnnotation, getAnnotationMetadata, isAnnotationPresent, isDeclaredAnnotationPresent, synthesize, synthesizeAll, synthesizeAnnotationsByType, synthesizeDeclared, synthesizeDeclared, synthesizeDeclaredAnnotationsByType
getAnnotation, getAnnotation, getDeclaredAnnotation, getDeclaredAnnotation
default boolean isSuspended()
default boolean isSingleResult()
static <T1> ReturnType<T1> of(java.lang.Class<T1> type, Argument<?>... typeArguments)
T1
- The return typetype
- The typetypeArguments
- The type argumentsReturnType