private static class MethodParameter.KotlinDelegate
extends java.lang.Object
Modifier | Constructor and Description |
---|---|
private |
KotlinDelegate() |
Modifier and Type | Method and Description |
---|---|
private static java.lang.reflect.Type |
getGenericReturnType(java.lang.reflect.Method method)
Return the generic return type of the method, with support of suspending
functions via Kotlin reflection.
|
private static java.lang.Class<?> |
getReturnType(java.lang.reflect.Method method)
Return the return type of the method, with support of suspending
functions via Kotlin reflection.
|
static boolean |
isOptional(MethodParameter param)
Check whether the specified
MethodParameter represents a nullable Kotlin type
or an optional parameter (with a default value in the Kotlin declaration). |
public static boolean isOptional(MethodParameter param)
MethodParameter
represents a nullable Kotlin type
or an optional parameter (with a default value in the Kotlin declaration).private static java.lang.reflect.Type getGenericReturnType(java.lang.reflect.Method method)
private static java.lang.Class<?> getReturnType(java.lang.reflect.Method method)