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(java.lang.Class<T1> type,
Argument<?>... typeArguments)
Create a new return type from the given type and arguments.
|
asParameterizedType, getSimpleName, getType, getTypeName, getTypeString, getWrappedType, getWrapperType, hasTypeVariables, isArray, isAsync, isAsyncOrReactive, isCompletable, isContainerType, isOptional, isPrimitive, isProvider, isReactive, isSpecifiedSingle, isVoid, isWrapperTypegetFirstTypeVariable, getTypeParameters, getTypeVariable, getTypeVariablesfindAnnotation, findAnnotation, findDeclaredAnnotation, findDeclaredAnnotation, getAnnotationMetadata, isAnnotationPresent, isDeclaredAnnotationPresent, synthesize, synthesizeAll, synthesizeAnnotationsByType, synthesizeDeclared, synthesizeDeclared, synthesizeDeclaredAnnotationsByTypegetAnnotation, 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(java.lang.Class<T1> type, Argument<?>... typeArguments)
T1 - The return typetype - The typetypeArguments - The type argumentsReturnType