Package io.micronaut.inject.util
Class KotlinExecutableMethodUtils
- java.lang.Object
-
- io.micronaut.inject.util.KotlinExecutableMethodUtils
-
@Internal public class KotlinExecutableMethodUtils extends java.lang.ObjectInternal Utility methods for working with Kotlin
.suspendfunctions- Since:
- 1.3.0
-
-
Constructor Summary
Constructors Constructor Description KotlinExecutableMethodUtils()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static booleanisKotlinFunctionReturnTypeUnit(ExecutableMethod method)Kotlinsuspendfunction return type check.
-
-
-
Method Detail
-
isKotlinFunctionReturnTypeUnit
public static boolean isKotlinFunctionReturnTypeUnit(@NonNull ExecutableMethod method)Kotlinsuspendfunction return type check.- Parameters:
method- method to be checked- Returns:
- True if given
suspendfunction's return type isUnit.
-
-