T
- The concrete typepublic interface ReturnType<T> extends TypeInformation<T>, AnnotationMetadataProvider, ArgumentCoercible<T>
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(Class<T1> type,
Argument<?>... typeArguments)
Create a new return type from the given type and arguments.
|
asParameterizedType, asType, getSimpleName, getType, getTypeName, getTypeString, getWrappedType, getWrapperType, hasTypeVariables, isArray, isAsync, isAsyncOrReactive, isCompletable, isContainerType, isOptional, isPrimitive, isProvider, 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, isAnnotationPresent, isDeclaredAnnotationPresent, synthesize, synthesizeDeclared
@NonNull default Argument<T> asArgument()
asArgument
in interface ArgumentCoercible<T>
default boolean isSuspended()
default boolean isSingleResult()
static <T1> ReturnType<T1> of(Class<T1> type, Argument<?>... typeArguments)
T1
- The return typetype
- The typetypeArguments
- The type argumentsReturnType