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